Lasso Soft Inc. > Home

[String->Split]

[String->Split] returns an array with elements created by splitting the string on the character specified as a parameter.

  • Syntax
  • Parameters
[String Variable->(Split: 'Delimiter')]
Required Parameters
String Variable The string which is to be split.
Delimiter The delimiter for which the string should be split.
Examples

To split a string into words:

Use the [String->Split] tag. The following example shows a sentence "The quick brown fox jumped over the lazy dog." split into an array using the space character as the delimiter.

[Output: 'The quick brown fox jumped over the lazy dog'->(Split: ' ')]
Result:
(Array: (The), (quick), (brown), (fox), (jumped), (over), (the), (lazy), (dog.))
Tag Link [String->Split] Category String
Type Member Data Source Any
Support Preferred Version 5.0
Output Type Array Security None
Implementation Sets Lasso 5.0

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft