This version is out of date, covering development from v6.0.0 to v6.6.5. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

TinderboxSix Icon

String.size


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Operator First Added: 

Operator Altered: 

 Property   [other Property type actions]

 Item   [operators of similar scope]

 Data manipulation   [other Data manipulation operators]

 Baseline

 


String.size()

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.



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