Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
Delphi 10.2 Tokyo Professional
|
Re: Buchstaben von Stringposition rausfinden´?
31. Okt 2007, 16:37
Hi,
Ganz einfach:
Delphi-Quellcode:
var C: Char;
S: String;
begin
S := 'Hallo';
C:= S[2]; // C = 'a'
end;
Gruß
Neutral General
Michael "Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
|