Xbasic
*string_to_array Function
Syntax
P *STRING_TO_ARRAY(C string_variable)
Arguments
- string_variable
Character variable, must be a variable passed by reference.
Description
Treat a character string variable as an character array, each line represents an array entry.
Example
dim mystringvar as c = comma_to_crlf("one,two,three") p = *string_to_array(mystringvar) ? p.size() = 3 ? p[1] = "one" ? p[2] = "two" ? p[3] = "three"
See Also