Hi Everyone.

I need to find the last occurance of a character in a string. Is there
a way I can use a regular expression to search the string from the end
backwards for the character? Or is there another way I can do it using
a CF function. At the moment I have a conditional loop that uses the
Find() function to search until it returns 0 and then report the
previous value as the last occurance. This works fine, but I feel
there should be a better way.

Thanks

Andrew.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
 Save $10 Download ZoneAlarm Security Suite 
http://www.houseoffusion.com/banners/view.cfm?bannerid=66

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:190067
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to