[string->eachCharacter] permits a query expression to be executed over all the characters in the string.
with Local in 'String Value'->eachCharacter Query Expression
Use the [string->eachCharacter] method. The following example takes a string and selects the characters within it.
Code
with char in 'The quick brown fox jumped the shark.'->eachCharacter select #char
Result
T, h, e, , q, u, i, c, k, , b, r, o, w, n, , f, o, x, , j, u, m, p, e, d, , t, h, e, , s, h, a, r, k, .
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 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments