Hi all, I'm using the following to strip unwanted words from a phrase:-
<Cfset session.realSearch = lcase(replacelist(session.realSearch, "and, or, in, of, at, it, the, on", ""))> results are:- Book The => Book The Book => The Book I can't understand how "the" is not replaced when it is the first word in the list. Could someone tell me what's wrong, please? Jenny No virus found in this outgoing message. Checked by AVG - www.avg.com Version: 9.0.894 / Virus Database: 271.1.1/3550 - Release Date: 04/04/11 19:35:00 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343546 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

