Re: Need Function or UDF that does this...

2004-09-04 Thread Jochem van Dieten
Josen Ruiseco wrote: I need a function or udf that is like find() or findNoCase() except that it searches backward from a starting point instead of forward. REFindNoCase(Left(your_string, search_position), .*#your_key#) Jochem [Todays Threads] [This Message] [Subscription] [Fast

Need Function or UDF that does this...

2004-09-03 Thread Josen Ruiseco
I need a function or udf that is like find() or findNoCase() except that it searches backward from a starting point instead of forward. In other words, it finds the first occurance of a substring within a string but searches backwards from a starting point. Josen GoMotorbids.com [Todays

Re: Need Function or UDF that does this...

2004-09-03 Thread Bryan Stevenson
PROTECTED] web: www.electricedgesystems.com - Original Message - From: Josen Ruiseco To: CF-Talk Sent: Friday, September 03, 2004 10:59 AM Subject: Need Function or UDF that does this... I need a function or udf that is like find() or findNoCase() except that it searches backward from

Re: Need Function or UDF that does this...

2004-09-03 Thread Dave Carabetta
On Fri, 03 Sep 2004 13:59:31 -0400, Josen Ruiseco [EMAIL PROTECTED] wrote: I need a function or udf that is like find() or findNoCase() except that it searches backward from a starting point instead of forward. In other words, it finds the first occurance of a substring within a string but

Re: Need Function or UDF that does this...

2004-09-03 Thread Barney Boisvert
How about passing the string to reverse() first.Won't be perfect, because you'll need to reverse your search string as well, and then subtract the returned index from the length, and unreverse everything to use it, but it'll function.YOu can wrap all that up in a UDF pretty easily. Or, if you're

Re: Need Function or UDF that does this...

2004-09-03 Thread Josen Ruiseco
These suggestions are all good. The problem I have is that I am searching out text from an cfhttp call. When I reverse the cfhttp.filecontent it becomes a huge mess and is difficult to work with. Thanks for the ideas... Josen How about passing the string to reverse() first.Won't be perfect,