Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save trycf/c8dfef2605775aef8df0a9975d917f4c to your computer and use it in GitHub Desktop.
Save trycf/c8dfef2605775aef8df0a9975d917f4c to your computer and use it in GitHub Desktop.
TryCF Gist
<!---<cfoutput>
<cfset matrix = ArrayNew(2)>
<cfset num = 0>
<ul>
<cfloop from="1" to="3" index="row">
<li style="font-size:30px;">
<cfloop from="#row#" to="9" step="3" index="step">
<span style="margin-top:5px;font-size:40px;display:inline">
#step#
</span>
</cfloop>
</li><br>
</cfloop>
</ul>
</cfoutput>
--->
<!---list last:Gets the last element of a list--->
<cfoutput>
<cfset last= listLast("one/two\three/four", "\/")>
#last#
</cfoutput>
<!---determine the index of the first list element in which specified value occurs.--->
<!---<cfoutput>
#listFindNoCase("apple|orange|banana", "orange", "|")#
</cfoutput>--->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment