Forum: Sonstige Fragen zu Delphi
by nuclearping,
23. Nov 2012
Die ganze Diskussion erinnert mich wieder an: http://www.zid.tuwien.ac.at/fileadmin/files_zid/zidline/images/zl22/cartoon.jpg :mrgreen:
Forum: Sonstige Fragen zu Delphi
by nuclearping,
22. Nov 2012
Im Grunde brauchst du nichtmal Ord. Du brauchst nur 'ne Schleife:var
sInput, sOutput: String;
i: Integer;
begin
sInput := 'abc1def6q3uz3sdd8as2';
sOutput := '';
for i := 1 to Length(sInput) do
if sInput in then
sOutput := sOutput + sInput;
end;
Forum: Sonstige Fragen zu Delphi
by nuclearping,
22. Nov 2012
Du kannst dir eine RegEx-Lib für Delphi besorgen und dann mit "/{1,}(?:?)*/" (oder so ähnlich) alle Zahlen extrahieren.