Skip to content

Instantly share code, notes, and snippets.

@JamoCA
Last active December 21, 2015 22:59
Show Gist options
  • Save JamoCA/6379514 to your computer and use it in GitHub Desktop.
Save JamoCA/6379514 to your computer and use it in GitHub Desktop.
Simple ColdFusion script to identify # of lines outputted when using CFDump.
<cfset CR = chr(10)>
<cfset simpleVar = "a">
<cfsavecontent variable="simpleResults"><cfdump var="#simpleVar#"></cfsavecontent>
<cfoutput><div>simpleResults = #ListLen(simpleResults, CR)#</div></cfoutput>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment