• 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: need something faster
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >need something faster (From: Hudson Barton <email@hidden>)

  • Prev by Date: Mail (delete aged msgs) scpt
  • Next by Date: Intel Backslide
  • Previous by thread: need something faster
  • Next by thread: Re: need something faster
  • Index(es):
    • Date
    • Thread