Unsupported content

 

This version of the product is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

text.split

text.split(string, [separator])

Returns a list consisting of portions of the string split according to the separator string, where specified. The separator does not appear in the output string. For example, text.split("Split this string", " ") results in the list ["Split", "this", "string"].

If the separator is not specified, the split will occur on all whitespace characters.

If the text is not split because the separator does not occur in the string, the function returns a list containing the whole string as its only member.

The separator is optional in BMC Discovery 8.3 and later.

Was this page helpful? Yes No Submitting... Thank you

Comments