Hi everyone,

I need to ask a rather silly question on escaping quotes so please bear with me for a while.

As i am using java this is what i usually do to escape quotes


It usually works but my question is that is this a platform independent way of doing it?

If not then what is the paltform independent way of doing it?

Any help is greatly appreciated

Thank You

Yours Sincerely

Richard West

I think the proper way to escape Quotes is

"Here is some \"Text inside Quotes\"" :rolleyes:

And no. It's not platform-independent.. That would be the File Separator, which is "\" in Windows and "/" in Unix (as an example).. In Java, \ always escapes the following character.