|
Tokenize
array Tokenize(string
string, string separator)
Return
Value
Returns array of tokens extracted from a given string.
Parameters
string–input
string that needs to be splitted into several tokens.
separator – a
string containing token separators..
Remarks
Call this function to
search for tokens in the given string and extract tokens into
array.
Example
The following
example demonstrates the use of Tokenize.
# Example for Tokenize
array data
string sData = "I love
NetDecision"
data = Tokenize(sData,
" ")
int nArraySize = GetArraySize(data)
for(int
i=0; i<nArraySize; i++)
Println(data[i])
endfor
Output of the example
script:
I
love
NetDecision
|