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
Per the documentation, the match is case-sensitive.
From: Jenny Gavin-Wear jenn...@fasttrackonline.co.uk
Sent: Tuesday, April 05, 2011 12:47 PM
To: cf-talk cf-talk@houseoffusion.com
Subject: replacelist question
Hi all,
I'm using the following to strip
On 4/5/2011 9:46 AM, Jenny Gavin-Wear wrote:
I can't understand how the is not replaced when it is the first word in
the list.
When the word is at the beginning of the string it DOES NOT have a white
space character in front of it.
Your list is including a white space character in front of
On 4/5/2011 9:46 AM, Jenny Gavin-Wear wrote:
Cfset session.realSearch = lcase(replacelist(session.realSearch, and, or,
in, of, at, it, the, on, ))
What you probably want is:
Cfset session.realSearch = lcase(replacelist(session.realSearch,
and,or,in,of,at,it,the,on, ))
Assuming you do NOT
That's awesome, thanks Ian, runs great now :)
Jenny
-Original Message-
From: Ian Skinner [mailto:h...@ilsweb.com]
Sent: 05 April 2011 17:57
To: cf-talk
Subject: Re: replacelist question
On 4/5/2011 9:46 AM, Jenny Gavin-Wear wrote:
Cfset session.realSearch = lcase(replacelist
, 2011 12:52 PM
To: cf-talk
Subject: re: replacelist question
Per the documentation, the match is case-sensitive.
From: Jenny Gavin-Wear jenn...@fasttrackonline.co.uk
Sent: Tuesday, April 05, 2011 12:47 PM
To: cf-talk cf-talk@houseoffusion.com
Subject
6 matches
Mail list logo