Escaping
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
"/"Test"/"
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
freesoft_2000
Practically a Master Poster
623 posts since Jun 2004
Reputation Points: 25
Solved Threads: 10
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.
Cudmore
Junior Poster in Training
74 posts since Nov 2005
Reputation Points: 20
Solved Threads: 6