I submitted a UDF to cflib.org called isUpperLower

http://www.aljnet.net/downloads/isUpperLower

Save the file in your root directoy as isUpperLower.cfm

Its use is very simple:

<cfinclude template="isUpperLower.cfm">

<cfoutput>
isUpperLower('U') = #isUpperLower('U')#<br>
isUpperLower('d') = #isUpperLower('d')#<br>
isUpperLower('F') = #isUpperLower('F')#<br>
</cfoutput>

RETURNS
isUpperLower('U') = upper<br>
isUpperLower('d') = lower<br>
isUpperLower('F') = upper<br>

Hope this helps 


Larry Juncker
President & CEO
ALJ Computer Services, LLC
1445 So 27th Street
Fort Dodge, IA
Phone: (515) 576-0885
Fax: (515) 576-8510
[EMAIL PROTECTED]

----------------------------------------------------------------------------
----
 
CONFIDENTIALITY NOTICE: This communication, including any attachment, may
contain confidential information and is intended only for the individual or
entity to whom it is addressed. Any review, dissemination, or copying of
this communication by anyone other than the intended recipient is strictly
prohibited. If you are not the intended recipient, please contact the sender
by reply email, delete and destroy all copies of the original message.'



-----Original Message-----
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 17, 2005 3:18 PM
To: CF-Talk
Subject: RE: Upper/Lowercase

Don’t compare() and find() both match case?
 
...:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

-----Original Message-----
From: J W [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 17, 2005 3:48 PM
To: CF-Talk
Subject: Upper/Lowercase

IS there a better way to find out if a character is Upper or lowercase other
than

<cfif (Asc(X) gte 65) and (Asc(X) lte 90)> or <cfif (Asc(X) gte 97) and
(Asc(X) lte 122)> where X is the letter I am comparing???

I've seen some sample code of making a CF function for ISUpperCase and
IsLowerCase. It uses the above technique.

I figured I would throw it out there if there was another more effecient
way.

Thanks!
Jeff






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224624
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to