Created
April 19, 2018 11:32
-
-
Save trycf/1365727187aaf4977a4c23616c04f4ca 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
<cfset kati = "ham18032716543194500-glx11223313"> | |
<cfset visit_reference = kati> | |
<cfset position = findNoCase( "-GLX", kati )> | |
<cfif position GT 0> | |
<cfset visit_reference = left( kati, position )> | |
</cfif> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment