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

AVEVA™ Plant SCADA

StringLen()

  • Last UpdatedJul 13, 2023
  • 1 minute read

Returns the number of characters in a string.

Category

String

Syntax

IntegerResult = StringLen( Text );

Parameter

Text

Actual string or a string equipment.item.

Remarks

All the characters in the string equipment.item 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(), StringTest(), StringToIntg(), StringToReal(), StringTrim(), StringUpper(), Text()

String Functions

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