portal entry

select a category, or use search below
(searches all categories and all time range)
Title:

Reverse an array in ColdFusion and other tricks using slice syntax

| View in Portal
February 09, 2019 06:54:17 PM GMT
1 Comment
<p>Reverse an array in ColdFusion and other tricks using slice syntax adding ColdFusion 2018</p>
<p>The post <a rel="nofollow" href="https://coldfusion.adobe.com/2019/02/reverse-array-coldfusion-tricks-using-slice-syntax/">Reverse an array in ColdFusion and other tricks using slice syntax</a> appeared first on <a rel="nofollow" href="https://coldfusion.adobe.com">ColdFusion</a>.</p>
Labels: Blog, ColdFusion, Modern CFML, 2018, blog, modern cfml

Comments:

Very nice. If you aren't on CF2018+, you can do an <em>arrayToList().reverse().listToArray()</em>. That one's pretty quick too.
Comment by ShawnPO
3633 | January 29, 2020 02:22:54 AM GMT