• 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: Exact word search-solved
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Exact word search (From: Axel Luttgens <email@hidden>)

  • Prev by Date: RE: Exact word search
  • Next by Date: SOAP responses of type number
  • Previous by thread: Re: Exact word search
  • Next by thread: Re: scripting adobe illustrator cs3
  • Index(es):
    • Date
    • Thread