• Advertisement

Archived

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

Inverted comma

This topic is 5775 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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
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

  • Advertisement