Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <cfset selectedFruit = "">
- <cfloop list="#form.fieldnames#" index="i">
- <cfif findNoCase("fruit", i) NEQ 0>
- <cfset selectedFruit = listAppend(selectedFruit, replaceNoCase(i, "fruit", "", "all"))>
- </cfif>
- </cfloop>
- <cfoutput>The selected fruit were: #selectedFruit#</cfoutput>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement