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 searches backwards from a starting point.
>

If there isn't one at cflib.org already, it wouldn't be very hard to
write yourself. The key part would be something like:

find(substring, reverse(myString))

reverse() is built in to CF, so nothing special needed.

Regards,
Dave.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to