Skip to content

Instantly share code, notes, and snippets.

@bdw429s
Created August 12, 2016 14:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bdw429s/d5acb02498dd6169d5150289b3388144 to your computer and use it in GitHub Desktop.
Save bdw429s/d5acb02498dd6169d5150289b3388144 to your computer and use it in GitHub Desktop.
echo( ['a', 'at', 'cat', 'scat', 'catch'].filter( function( i ) { return reFind( '.+at', i ) } ).first() )
@atuttle
Copy link

atuttle commented Aug 12, 2016

Presumably Lucee, as ACF doesn't have an echo() function but I see the telltale reFind of CFML.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment