Re: Help with find text command
Re: Help with find text command
- Subject: Re: Help with find text command
- From: "Stockly, Ed" <email@hidden>
- Date: Wed, 01 Aug 2007 17:01:02 -0700
- Thread-topic: Help with find text command
No need for shell scripting or RegEx on this one, William, here's a pure
AppleScript solution that could get you started.
set OhMyWord to every word of myText
Set newNumbers to {}
repeat with thisWord in OhMyWord
if the (count of thisWord) = 10 then
try
set thisWord to thisWord as integer
--do routine to convert 10 digit number to 13 digit number
Set the end of newNumbers to thirteenDigitNumber
end try
end if
end repeat
Return newNumbers
HTH,
ES
_______________________________________________
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