Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Syntax
List.ReplaceRange(
list as list,
index as number,
count as number,
replaceWith as list
) as list
About
Replaces count values in the list with the list replaceWith, starting at specified position, index.
Example
Replace {7, 8, 9} in the list {1, 2, 7, 8, 9, 5} with {3, 4}.
Usage
List.ReplaceRange({1, 2, 7, 8, 9, 5}, 2, 3, {3, 4})
Output
{1, 2, 3, 4, 5}