Separate

Strings
Aptilis 1

Separate(DestinationArrayName[], String, Separator)

Separate separates a string into its constituents separated by a separator.

Return value:
The number of element(s) found.

Example:

c = "one++two++three++four++five++six++seven" $
n = separate(e[], c$, "++")
for i=0 to n-1
print(e[i] $, "\n")
end for
Result:
one
two
three
four
five
six
seven

See also: Join, which does the opposite of Separate.