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