3 Replies Latest reply on Jul 10, 2006 5:06 PM by Craig Grummitt

    backlash problems ("\\")

    golem2 Level 1
      Hi, I am having problems with string manipulation when the string is Windows path, such as:

      What I want to do is to replace all the "\" with ":" (I am writing to file using 3ed party - Zinc and need to convert Windows path to mac and back)

      I need to do something like:
      oldstring = "\\Users\Me\Desktop\photos\photo4.jpg"
      replaceChar = ":"
      convert(oldstring, replaceChar)

      Problem is that flash reads oldstring -> "\\Users\Me\Desktop\photos\photo4.jpg"

      Help !