SRL Archive - Help

' in a string?


Footy

2012-10-20 10:14:19

This question has bugged me since I joined, I always wanted my debug to say Footy's blahblahblah, but ' ends the string. I know theres ways to add special characters like that into strings in Java, but is there one in Freepascal?

Thanks!
~Footy

litoris

2012-10-20 10:15:17

Writeln('Footy''s Awesome Dungeoneer');

Footy

2012-10-20 10:18:20

Its still not a '… I guess its good enough though.
Thanks

riwu

2012-10-20 10:28:40

From: Footy
Its still not a '… I guess its good enough though.
Thanks

No it's exactly what you are asking for. It will become a single ' for the output.
http://villavu.com/forum/showthread.php?t=89400

Footy

2012-10-20 10:32:16

Ah, I thought it as a ", not two 's. Thanks!