I owe you guys this much
<cfparam name=outstring default=''><CFHTTP
URL="http://yahoo.com"
METHOD="GET"
RESOLVEURL="false">
</CFHTTP>
<CFSET st=Findnocase("<title>",CFHTTP.FileContent)>
<CFSET end=Findnocase("</title>",CFHTTP.FileContent)>
<CFSET num=end-st>
<cfset outstring=mid(CFHTTP.FileContent,st,end)>
<cfscript>
CutExcess = #len(outstring)# - 4;
</cfscript>
<cfset outstring=RemoveChars(outstring, #cutexcess#, 5)>
<CFOUTPUT>#outstring#</CFOUTPUT>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm ------------------------------------------------------------------------------ To unsubscribe, send a message to cf-server-request@houseoffusion.com with 'unsubscribe' in the body or visit the list page at www.houseoffusion.com