Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cfhttp method="get" - Need to strip redundant information

Status
Not open for further replies.

xtendscott

Programmer
Apr 21, 2003
276
US
I don't want to place page in a frame and there is redundant page information in the requested page.

<cfhttp method=&quot;get&quot; url=&quot;#PageSource#&quot; resolveurl=&quot;yes&quot;>
<cfoutput>#CFHTTP.FileContent#</cfoutput>

This is the code I am using above. If the page is consistant for # characters I could use mid(#CFHTTP.FileContent#, #startnumber#, #endnumber#).

How could I parse through the #CFHTTP.FileContent# to find a specific &quot;String&quot; to find the location of beginning and end when page is not consistant?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top