string_split (string, delimiters, max_words)
Any character string.
A character string containing delimiter characters.
The maximum number of words to separate.
This function breaks a string into individual words wherever it finds any one of the characters in the delimiters string. If max_words is zero or less, there is no limit to the number of words which may be generated. If max_words is greater than zero, then at most max_words words will be generated. If there are any characters remaining in the string once max_words words have been generated, then the remaining characters will be returned as the last element in the result list. If delimiters is the empty string, "", then the input string will be split at any white space.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.