Previous Up Next

5.2.6  Splitting strings into lists of tokens

The split command splits a string into a sequence of substrings with respect to a given separator.

See Section 9.1.9 for other uses of split.

Examples

split("this is a phrase"," ")
     

“this”,“is”,“a”,“phrase”
          
apply(expr,split("112--34--567--89","--"))
     

112,34,567,89
          

Previous Up Next