Skip to content

Instantly share code, notes, and snippets.

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 trycf/4264bfdeb389e45a559bcb4b97d4db23 to your computer and use it in GitHub Desktop.
Save trycf/4264bfdeb389e45a559bcb4b97d4db23 to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
variables.title = "XXXAssociate Manager, Blah blah"
managerialTitles = 'Library Services Coordinator,Associate Manager,Facilities Coordinator'
for (title in managerialTitles.listToArray()) {
writeDump(variables.title.reFind('^#variables.title#, .*'))
}
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment