string1 = "ColdFusion is an application server and software development
framework used for the development of computer software";

string2 = "software development framework";

string3 = reReplace( string1, ".*(#string2#.*)", "\1")


-- 
nathan strutz
http://www.dopefly.com/



On Tue, Apr 1, 2008 at 1:08 PM, Steve Sequenzia <[EMAIL PROTECTED]> wrote:

> I am trying to figure out the best way to remove all text that is left of
> a substring in a string.
>
> Sting Example - "ColdFusion is an application server and software
> development framework used for the development of computer software"
>
> Substring Example - "software development framework"
>
> I need to figure out a function that returns - "software development
> framework used for the development of computer software"
>
> Any help on this would be great.
>
> Thanks!
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302463
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to