Lasso Soft Inc. > Home

[ string->eachWordBreak ]

Method

[string->eachWordBreak] permits a query expression to be executed over all the "words" in the string.

  • Syntax
with Local in 'String Value'->eachWordBreak Query Expression
Examples
  • Beginner

To run a query expression over all the "words" in a string:

Use the [string->eachWordBreak] method. The following example takes a string and selects  the "words" within it.

Code

with break in 'The quick brown fox jumped the shark.'->eachWordBreak select #break

Result

The, quick, brown, fox, jumped, the, shark.

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 2014 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft