Please tell me how to split a string into parts, using as a separator a multichar string, not a single symbol
for example
array = MySplit("xdatayydatazzz", "data");
and result
array(0) = "x"
array(1) = "yy"
array(2) = "zzz"
Um, why not just use:
arr = Split("xdatayydatazzz", "data")
Just to be sure, I tested this, and it works as expected. Docs on Split here.
array is illegal. the semicolon at the end of line is also illegal