• 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: Tanaka's osax 2.01- MT Parse command ??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: dd: Palm Note Pad (Desktop 4.0)
  • Next by Date: Re: Find and Replace Text
  • Previous by thread: Re: Re: Tanaka's osax 2.01- MT Parse command ??
  • Next by thread: Quark Xpress 4.11 print style
  • Index(es):
    • Date
    • Thread