Thanks! -----Original Message----- From: Jerry Johnson [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 2:57 PM To: CF-Talk Subject: Re: check first letter
Hi Robert, To get the first letter of a string, use the left() built in function. <cfif left(string,1) eq "A"> <cfset alpha=left(string,1)> Jerry Johnson >>> [EMAIL PROTECTED] 08/08/03 09:51AM >>> I need to do an alphabetical check of each book title in a long list. I want to check each title by its first letter so I can create a bookmark to it. Anyone have a simple CF code that can search the first letter in a text string? Still a newbie. Thanks. Robert Orlini HW Wilson 718-588-8400 x2656 (+( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

