Syntax
cut(string, separator)
Description
Cut() slices’s the string around the first instance of the separator, returning the text before and after separator.
Example
a="This is a string::of 2 parts" println(cut(a, "::")) [This is a string, of 2 parts]