Re: text item delimiters
Re: text item delimiters
- Subject: Re: text item delimiters
- From: Mark Lively <email@hidden>
- Date: Mon, 16 Sep 2002 15:21:34 -0400
On Monday, September 16, 2002, at 02:45 PM, Kinsella, John R. wrote:
But doing this, the \'s that I want to replace are ignored because it's
looking for \" instead of \.
Because when the compiler sees \ it looks for something that needs to
be trapped so that it can read right in the script. One of those
things is \ so \\ in a string will actually be \ in use.
for clarity
set foo to "a\\b"
set applescript's text item delimiters to "\\"
set foo to text item 1 of foo
--"a"
-Mark
Have LART, will travel
_______________________________________________
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.