<cfset string = "ColdFusion is an application server and software
development framework used for the development of computer software">
<cfset substring = "software development framework">
<cfset loc = FindNoCase(substring,string)>
<cfset myString = Mid(string,loc,Len(string))>
<cfdump var="#myString#">

-----Original Message-----
From: Steve Sequenzia [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 01, 2008 3:09 PM
To: CF-Talk
Subject: Remove everything left of a substring in a string

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:302451
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