listrest(listlast(thestring, "."), "/\") should give you 'var1/var2/var3/var4'
Azadi On 06/12/2010 23:06 , Robert Harrison wrote: > I have a string like this: > thislocation/thisdir/thissite/thispage.cfm/var1/var2/var3/var4 > > I want to split the string to get just that data that follows ".cfm/", which > would be var1/var2/var3/var4. > > Tried all the list function I can think of, but that's not the right > approach. How can all get only the data that follows the literal ".cfm/"? > > Thanks > > > Robert B. Harrison > Director of Interactive Services > Austin& Williams > 125 Kennedy Drive, Suite 100 > Hauppauge NY 11788 > P : 631.231.6600 Ext. 119 > F : 631.434.7022 > http://www.austin-williams.com > > Great advertising can't be either/or. It must be&. > > Plug in to our blog: A&W Unplugged > http://www.austin-williams.com/unplugged > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339812 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm