• 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
Re: string question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: string question


  • Subject: Re: string question
  • From: "Marc K. Myers" <email@hidden>
  • Date: Wed, 14 Aug 2002 14:59:40 -0400
  • Organization: [very little]

> Date: Wed, 14 Aug 2002 10:46:35 -0400
> Subject: string question
> From: Emily Leventhal <email@hidden>
> To: email@hidden
>
> I want to create a string with quotation in it:
>
> "My string might be "this" and there would "be" extra quotes
> "throughout" the string"
>
> How can you do this?

You escape the quotes with backslashes, changing them from delimiters to
string characters. Like this:

"My string might be \"this\" and there would \"be\" extra quotes
\"throughout\" the string"

Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074

[8/14/02 2:59:29 PM]
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Memory
  • Next by Date: Re: Moving a file to an invisible folder?
  • Previous by thread: Re: Fwd: string question
  • Next by thread: Re: string question
  • Index(es):
    • Date
    • Thread