Created
October 4, 2016 08:26
-
-
Save karrikas/bee0607a20ccd7204984473d11a3bc55 to your computer and use it in GitHub Desktop.
Know Ascii code of each character over a string in coldfusion
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
| <cfargument name="testua" default="0"> | |
| <cfloop index="intChar" from="1" to="#Len( testua )#" step="1"> | |
| <cfset strChar = Mid( testua, intChar, 1 ) /> | |
| <cfdump var="[#intChar#:#asc(strChar)#:#strChar#]"> | |
| </cfloop> | |
| <cfabort> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment