Ciao a tutti!
Come posso sapere se in una stringa c'è il carriage return (l'invio)?
Io ho fatto cosi :
if pos(#13#10, s) > 0 then
begin
end;
Help!
Ciao a tutti!
Come posso sapere se in una stringa c'è il carriage return (l'invio)?
Io ho fatto cosi :
if pos(#13#10, s) > 0 then
begin
end;
Help!
Mi sembra che vada bene. Qual è il problema?
Forse ti basterebbe anche solo controllare uno dei due, ad esempio #13.
MARCO BREVEGLIERI
Software and Web Developer, Teacher and Consultant
Home | Blog | Delphi Podcast | Twitch | Altro...