• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Escape character problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Escape character problem


  • Subject: Escape character problem
  • From: Brian Gist <email@hidden>
  • Date: Thu, 17 Mar 2005 02:34:39 -0700

I know this sounds silly, but this is literally driving me crazy.

I'm trying to get a line in quoted text.  I want it to say
"Name"
literally.

When I do ...

set nameVar to "  \"Name\" "
get nameVar

the result, frustratingly enough is exactly

"  \"Name\" "

Shouldn't the \" be an escape character telling it to display the
quotes, but not the backslash?

My sanity thanks you in advance.

Brian
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Escape character problem
      • From: Andrew Oliver <email@hidden>
  • Prev by Date: Re: Parsing text from a string // shell script ?
  • Next by Date: Re: getting chunks of text
  • Previous by thread: Re: iCal organization with dates & events & lists....
  • Next by thread: Re: Escape character problem
  • Index(es):
    • Date
    • Thread