Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Application Server

StringLen()

  • Last UpdatedJul 22, 2024
  • 1 minute read

Returns the number of characters in a string.

Category

String

Syntax

IntegerResult = StringLen( Text );

Parameter

Text

Actual string or a string attribute.

Remarks

All the characters in the string attribute are counted, including blank spaces and those not normally shown on the screen.

Examples

StringLen("Twelve percent") ' returns 14;

StringLen("12%") ' returns 3;

StringLen("The end." + StringChar(13)) ' returns 9;

The carriage return character is ASCII 13.

See also

StringASCII()

StringChar()

StringFromIntg()

StringFromReal()

StringFromTime()

StringInString()

StringLeft()

StringLower()

StringMid()

StringReplace()

StringRight()

StringSpace()

StringTest()

StringToIntg()

StringToReal()

StringTrim()

StringUpper()

Text()

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in