Thema: Delphi String in Char ?

Einzelnen Beitrag anzeigen

Benutzerbild von 3_of_8
3_of_8

Registriert seit: 22. Mär 2005
Ort: Dingolfing
4.129 Beiträge
 
Turbo Delphi für Win32
 
#6

Re: String in Char ?

  Alt 22. Mär 2006, 14:25
Zitat:
C := PChar(Copy(S, 100, 1))^;
Oder so:

C:=@Copy(S, 100, 1)[1]^;
Manuel Eberl
„The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it.“
- Terry Pratchett
  Mit Zitat antworten Zitat