Chars(Index: Integer): Char;
Index. index of character in a string. Indexing starts from 0.
The Chars property returns the character with the specified index from character string.
Sub Main;
Var
s, s1: String;
Begin
s := "String";
s1 := s.Chars(3);
End Sub Main;
After executing the example the "s1" variable will contain the "g" value.
See also: