Re: Tanaka's osax 2.01- MT Parse command ??
Re: Tanaka's osax 2.01- MT Parse command ??
- Subject: Re: Tanaka's osax 2.01- MT Parse command ??
- From: has <email@hidden>
- Date: Wed, 24 Apr 2002 22:33:56 +0100
Bill Christens-Barry wrote:
>
I'm trying to use Tanaka's osax 2.0.1 to parse a string into a list
>
of parts, with an unexpected result:
[...]
>
Any examples of how to do this successfully?
Side note: you don't need to put your code into a 'tell application
"Finder"' block. (I think a lot of folk would say it's actually pretty
undesirable.)
Just a thought: have you considered using AppleScript's text item delimiters?
set allParts to "partOne@partTwo@partThree"
set oldTID to AppleScript's text item delimiters
set AppleScript's text item delimiters to "@"
set thePartsList to text items of allParts
set AppleScript's text item delimiters to oldTID
return thePartsList
HTH
has
--
http://www.barple.connectfree.co.uk/ -- The Little Page of Beta AppleScripts
_______________________________________________
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.