String.size

Tinderbox Icon


Operator Type:   Property
Operator Scope of Action:   Item
Operator Purpose:   Data manipulation

String.size()

New to v5.7.0, this returns the number of characters in a string value. The returned number can be coerced to a string. Examples:

$MyString = "hello world"; $MyNum = $MyString.size; $MyStringA = $MyString.size

The value of $MyNum will be the number 11, $MyStringA will be the string "11".

This operator can also be used on other attribute data types that are string-like, URL, File, etc.


Possible relevant notes (via "Similar Notes" feature):

Up: Full Operator List
Previous: String.reverse()  Next: String.split("pattern") 

A Tinderbox Reference File : Actions & Rules : Operators : Full Operator List : String.size

Quicklinks: Attributes | Action Codes | Export Codes | Designators | Date Formats | aTbRef Site Map

[Last updated: 16 May 2012, using v5.11.1]


Search:

Google search aTbRef for:  


Creative Commons Licence

aTbRef by Mark Anderson is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

[See aTbRef CC licence Attribution & Waiver info]

Made with Tinderbox