• 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
Strip characters without recursive loop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strip characters without recursive loop


  • Subject: Strip characters without recursive loop
  • From: Duncan Cowan <email@hidden>
  • Date: Tue, 19 Aug 2003 11:52:30 +1000

Hi List

Is it possible to string all non numerical characters from a string, without
looping through each character?
I realise that this is probably not possible.... but it would make my script
run a lot quicker.

Example:

set theString to "1234-56abc"
set theResult to characters of the string whose kind is integer

Just hoping to save a bit of time.

Thanks in advance

D
_______________________________________________
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.

  • Follow-Ups:
    • Re: Strip characters without recursive loop
      • From: David Durkee <email@hidden>
    • Re: Strip characters without recursive loop
      • From: John Delacour <email@hidden>
    • Re: Strip characters without recursive loop
      • From: David Hood <email@hidden>
  • Prev by Date: Weird Finder bug - or not?
  • Next by Date: Re: appletalk and tcpip
  • Previous by thread: Re: Weird Finder bug - or not?
  • Next by thread: Re: Strip characters without recursive loop
  • Index(es):
    • Date
    • Thread