SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: Escaping

  1. #1
    SitePoint Zealot
    Join Date
    Jan 2005
    Location
    Mars
    Posts
    139
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question 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

    Code:
    "/"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

  2. #2
    SitePoint Wizard silver trophy rushiku's Avatar
    Join Date
    Dec 2003
    Location
    A van down by the river
    Posts
    2,056
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    eh, I guess you meant "\"Test\""?

    Anyway, \ is the platform independent escape character. (which makes you wonder how the frack Microsoft choose it as the path separator...maybe they picked it before there were standard escapes? /rant)


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •