StringGetCharacter

Returns value of a symbol, located in the specified position of a string.

ushort  StringGetCharacter(
   string  string_value,     // string
   int     pos               // symbol position in the string
   );

Parameters

string_value

[in]  String.

pos

[in]  Position of a symbol in the string. Can be from 0 to StringLen(text) -1.

Return Value

Symbol code or 0 in case of an error. To get the error code call GetLastError().

See also

StringSetCharacter, StringBufferLen, StringLen, StringFill, StringInit, StringToCharArray, StringToShortArray