> Hello,
> I have a string and I need to get a certain part out of it
> and pipe it in to another variable.

> Here is what I have --

> <cfset NewString = REFind("SELECT(.*?)FROM",theQuery)>
> Here are all of the columns in your query #NewString#

> What I get is a "1", I was really looking for the string.

<cfset newString =
rereplacenocase(theQuery,"^.*?SELECT(.*?)FROM.*$","\1")>

s. isaac dealey     954.927.5117
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.sys-con.com/story/?storyid=44477&DE=1
http://www.sys-con.com/story/?storyid=45569&DE=1
http://www.fusiontap.com
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to