RE: Exact word search-solved
RE: Exact word search-solved
- Subject: RE: Exact word search-solved
- From: "Script2" <email@hidden>
- Date: Thu, 18 Sep 2008 09:54:51 -0400
- Importance: Normal
Thanks Mark, Jon, Axel.
Considering case worked.
Ruby
-----Original Message-----
From: applescript-users-bounces+script2=email@hidden
[mailto:applescript-users-bounces+script2=email@hidden]
On Behalf Of Axel Luttgens
Sent: Thursday, September 18, 2008 9:51 AM
To: asu
Subject: Re: Exact word search
Le 18 sept. 08 à 15:04, Script2 a écrit :
>
> If aword contains "FINISH"
>
>
> Aword is a paragraph.
>
> How do I write this so it searches only upper case FINISH. Above
> sentence
> returns finishing, finished, Finish................
If I understood you correctly, you seem to be looking for a
"considering" clause:
considering case
"it's FINISHed" contains "FINISH"
--> true
"it's finished" contains "FINISH"
--> false
end considering
HTH,
Axel _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
tern.com
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
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