Lasso Soft Inc. > Home

[ String->Split ]

Method

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

  • Syntax
'String Object'->split('Delimiter Character')
Examples
  • Beginner

To split a string into an array of strings:

Use the [String->Split] method. The following example shows a phrase "The quick white rhino" split into an array using the space character as the delimiter.

Code

'The quick white rhino'->split(' ')

Result

array(The, quick, white, rhino)

Recent Comments

No Comments found

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