Created
May 2, 2024 14:28
-
-
Save trycf/266ece7607bea95c754e6ebcf6bbfb64 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 s = "(bingo)"> | |
<pre> | |
<cfoutput> | |
//remove first char | |
#right(s, -1)# | |
#right(s, len(s)-1)# | |
#s.right(-1)# | |
//remove last char | |
#left(s, -1)# | |
#left(s, len(s)-1)# | |
#s.left(-1)# | |
</cfoutput> | |
</pre> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment