Re: need something faster
Re: need something faster
- Subject: Re: need something faster
- From: Emmanuel <email@hidden>
- Date: Sat, 4 Jun 2005 18:21:00 +0200
At 7:49 AM -0400 6/4/05, Hudson Barton wrote:
What the following handler does is clean up a text string that
contains unwanted characters and formats the result with regular
line endings. It is way too slow when processing a long string.
Any suggestions?
You may want to use the "change" command in the Satimage osax with a
regular expression:
I think you want:
set othertext to change "[^A-F0-9]" into "" in dirtytext with regexp
set cleantext to change ".{40}" into "\\0" & ascii character 10 in
othertext with regexp
Emmanuel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden