SYNTAX

<String>.size

Returns the Integer number of characters in <String>. All characters, numbers, symbols, and punctuation marks are counted, including spaces before, within, and after words.

The Operators row of the table in Summary Table of Vocabulary Usage Restriction applies. No special exceptions.

The following Rulesheet uses the .size function to determine the length of string1 and assign it to integer1

A sample Ruletest provides three examples. Input and Output panels are shown below: