Created
June 8, 2020 17:13
-
-
Save trycf/564a9d9f6a5c25f8446b2e90fbc24816 to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains 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
<cfscript> | |
q = queryNew( 'foo,bar,baz' ) | |
writedump( q.columnList ) | |
writedump( listFindNoCase( q.columnList, 'bar' ) ) | |
writedump( len( q.columnList ) ) | |
try { | |
writedump( q.columnList.listFindNoCase( 'bar' ) ) | |
}catch(any e){ writedump(e.message) } | |
try { | |
writedump( q.columnList.ucase() ) | |
}catch(any e){ writedump(e.message) } | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment