Last active
December 21, 2015 22:59
-
-
Save JamoCA/6379514 to your computer and use it in GitHub Desktop.
Simple ColdFusion script to identify # of lines outputted when using CFDump.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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