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

AVEVA™ Plant SCADA

StrGetChar

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets a single character from a string or buffer. Use this function to read a string, character by character.

Syntax

StrGetChar(String, iOffset)

String:

The source string. Must be a String type variable.

iOffset:

The offset in the string, commencing at 0.

Return Value

The character at the offset in the string.

StrSetChar

Example

FOR i = 0 To length DO

char = StrGetChar(str, i);

! Get char from string

END

See Also

String Functions

Using the Caret Escape Sequence Character

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