Array Functions
Before going in note that any time VARNAME or FUNCNAME is written, it means a variable or function in the form Collection@Variable or a literal.
min
Syntax:
max
Syntax:
rfind
Syntax:
Finds the first string in the array VARNAME2 that matches the regex pattern VARNAME3 and assigns it to VARNAME1. If no match is found, VARNAME1 is assigned an empty string. VARNAME2 must be an array of strings, and VARNAME3 must be a string representing a regex pattern.
rfindindex
Syntax:
Finds the index of the first string in the array VARNAME2 that matches the regex pattern VARNAME3 and assigns it to VARNAME1. If no match is found, -1.0 is returned. VARNAME2 must be an array of strings, and VARNAME3 must be a string representing a regex pattern.
find
Syntax:
Finds the index of the first string with the content VARNAME3 in the array VARNAME2 and assigns the result to VARNAME1. If no match is found an error is thrown. VARNAME2 must be an array of any type, and VARNAME3 must match that type.
get
Syntax:
Gets the value at index VARNAME3 in the array VARNAME2 and assigns it to VARNAME1. If VARNAME3 is out of bounds, an error is thrown. VARNAME2 must be an array of any type, and VARNAME3 must be a number representing a valid index in VARNAME2.
length
Syntax:
Returns the length of the array VARNAME2 and assigns it to VARNAME1. VARNAME2 must be an array of any type.
append
Syntax:
Clones the array VARNAME2 but with the value VARNAME3 added to the end and assigns it to VARNAME1. VARNAME2 must be an array of any type, and VARNAME3 must match that type.