> In Yahoo address book, they have this list for finding a particular
> person easily
> by the first letter of their last name:
>
> All - A B C D E F G H I J K L M N O P Q R S T U V W X Y Z - Lists
>
> Does anyone have any insights on how the algorithm of implementing this
> feature?
>
> For example, I have a user database, and I want to use this feature to
> find persons whose last name start with a particular letter.

How are you storing the people's names?
If it's one field then you're stuffed - if you've got it broken into Title,
FirstName, Surname then it's dead easy (just check the left hand letter of
the surname)

Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133

"Websites for the real world"

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to