I need to manipulate each line of a cfhttp.filecontent I got from a get:
<cfhttp url="www.internet.com/file.html" method="GET" resolveurl="false"></cfhttp>
<cfoutput>
#cfhttp.FileContent#
</cfoutput>
How would I loop through cfhttp.filecontent line by line?
Thanks!
Typically you can use list functions with some combination of chr(10) and/or chr(13) as the list delimiter. But it all depends on how “lines” are defined in your content.