Applescript: string might have a quote -


i've got applescript file in part of checks api string. string may have quote in it. when doesn't script works fine, when have quote string fails. how can safeguard string works in either case?

this works:

string = "yeah working" 

this doesn't:

string = "yeah i'm working" 

how can escape quote mark when don't know it'll or if it'll there?

string isn't legal variable name starters. other that, set mystring quoted form of "something own's quote" should trick.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -