Created
March 13, 2018 12:11
-
-
Save anonymous/906f90ab7aeed217e583e6ea6469b9c0 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> | |
testvalue = "my value"; | |
</cfscript> | |
<cfswitch expression="#testvalue#"> | |
<cfcase value="my"> | |
Found my | |
</cfcase> | |
<cfcase value="value"> | |
Found value | |
</cfcase> | |
<cfcase value="my value"> | |
Found my value | |
</cfcase> | |
<cfdefaultcase> | |
Not Found | |
</cfdefaultcase> | |
</cfswitch> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment