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

AVEVA™ InTouch HMI

Format strings with spaces

  • Last UpdatedJul 23, 2024
  • 1 minute read

In a script, you can use the StringSpace() function to add spaces (blanks) to strings.

Syntax

result = StringSpace (number)

Parameters

number

A literal number, numeric tagname, or numeric expression.

Example(s)

StringSpace(4) returns a string consisting of 4 blanks.

"Pump"+StringSpace(1)+"Station" returns "Pump Station".

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