• 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
strings, again and again
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

strings, again and again


  • Subject: strings, again and again
  • From: "Justin Laden" <email@hidden>
  • Date: Sun, 3 Feb 2008 02:33:20 -0500

Can anyone tell me why this just populates the target list with
"empty"--it doesn't pull the string I need.

Thanks!

	repeat with i from 1 to (z)

		try
			set firstPull to find text "^[a-zA-Z][0-9]{4}" in item i of
descriptionRange with regexp

			--set refinedData to matchResult of firstPull

			set item i of jobNumRange to firstPull

		on error

			set item i of jobNumRange to "empty"

		end try

	end repeat
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: strings, again and again
      • From: "Gary (Lists)" <email@hidden>
    • Re: strings, again and again
      • From: Kurt Klamp <email@hidden>
  • Prev by Date: Extra Suites problem?
  • Next by Date: Re: strings, again and again
  • Previous by thread: Extra Suites problem?
  • Next by thread: Re: strings, again and again
  • Index(es):
    • Date
    • Thread