[string->keys] returns the keys of a string object. The keys are the indices or positions of each character within the string object.
'String Object'->keys
use the [string->keys] method. The following example returns the keys in the string object.
Code
'The quick white rhino'->keys
Result
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21
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