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

AVEVA™ Plant SCADA

StrToChar

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets the ASCII code of the first character in a string.

Syntax

StrToChar(String)

String:

The source string.

Return Value

The ASCII code of the first character in String.

StrGetChar

Example

Variable=StrToChar("ABC");
! Sets Variable to 65 (ASCII "A").

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