Corticon Studio: Rule Language Guide
:
Rule operator details and examples
:
Size of string
Try Corticon Now
Size of string
SYNTAX
<String>
.size
DESCRIPTION
Returns the Integer number of characters in
<String>
. All characters, numbers, symbols, and punctuation marks are counted, including spaces before, within, and after words.
USAGE RESTRICTIONS
The Operators row of the table in
Summary Table of Vocabulary Usage Restriction
applies. No special exceptions.
RULESHEET EXAMPLE
The following Rulesheet uses the
.size
function to determine the length of
string1
and assign it to
integer1
SAMPLE TEST
A sample Ruletest provides three examples. Input and Output panels are shown below: