Re: Convert a string into a list without Delimiters
Re: Convert a string into a list without Delimiters
- Subject: Re: Convert a string into a list without Delimiters
- From: email@hidden
- Date: Fri, 9 Nov 2001 14:19:01 -0600
Greetings,
Another use for the RegEx Commands Osax.
----------------------------------------------------------------------
set theText to "Now is the time for all good men to come to the aid of their country."
set AppleScript's text item delimiters to {return}
set lst to text items of (REMatch theText pattern "....")
set AppleScript's text item delimiters to {""}
----------------------------------------------------------------------
0.025797 sec to parse a 6 K string OMM. Timed with the PrecisionTimer osax.
--
Best Regards,
Christopher Stone
______________________________
StoneWorks Computer Consulting
email@hidden