Lasso Soft Inc. > Home

[ string->size ]

Method

[String->Size] returns the number of characters that are in a string object. It is equivalent to [String_Length] (deprecated) and is similar to [Array->Size] or [Map->Size].

  • Syntax
'String Object'->size
Examples
  • Beginner

To report the size of a string:

Use the [String->Size] method. The following example reports the size of a string object by the number of characters it contains.

Code

'The quick rhino'->size

Result

15

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