Archived

This topic is now archived and is closed to further replies.

Major

Inverted comma

Recommended Posts

Major    122
I work with C++ Builder 4. I my prog I want to write in a file something like this: Teamsay="Hello" So in my prog, I have that: WriteString("Teamsay =" + """ + Edit1->Text +"""); WriteString is nothing ,just a function supposed to write in a file...and in my Edit1->Text I have "Hello"... But the problem is to put in my file the " (the inverted comma), I don''t know how yo do with that...of course """ is wrong, and """" do nothind.. so do someone has an idea? Excuse me for my English...

Share this post


Link to post
Share on other sites
Melraidin    128
Ummm... the double quotes? Try using \", this should take care of it. If you''re looking for the inverted comma (single quote) try the key that is most likely just left of the numeral 1 on your keyboard.

Share this post


Link to post
Share on other sites
Major    122
I have rapidly an answer, and furthermore it is a good answer!!
Thank you very much Melraidin, and yes I was talking about the double quotes (one future mistake in less ).

Share this post


Link to post
Share on other sites