Apr 6, 2004 #1 rockyroad Programmer Feb 22, 2003 191 US Hello All Can anyone provide an example of a ListFind statement using multiple delimiters? For example #ListContains(sting, "substring", "delimiter")# but with two or more delimiters? I have tried but failed with my syntax several times. Thank You RR
Hello All Can anyone provide an example of a ListFind statement using multiple delimiters? For example #ListContains(sting, "substring", "delimiter")# but with two or more delimiters? I have tried but failed with my syntax several times. Thank You RR
Apr 6, 2004 Thread starter #2 rockyroad Programmer Feb 22, 2003 191 US PS I realize my statement began ListConatins()... but I think the syntax I am looking for should apply to both functions..? Thanks! Upvote 0 Downvote
PS I realize my statement began ListConatins()... but I think the syntax I am looking for should apply to both functions..? Thanks!
Apr 6, 2004 1 #3 jalbao Programmer Nov 27, 2000 413 US Separate each delimiter by a comma. Example: <cfset locTempList="This,is!a^multiple&delimited*list"> <cfoutput> <cfloop list="#locTempList#" delimiters=",,!,^,&,*" index="i"> #i#<br> </cfloop> </cfoutput> Note: The delimiters in the above example are: comma exclamataion caret ampersand asterisk Upvote 0 Downvote
Separate each delimiter by a comma. Example: <cfset locTempList="This,is!a^multiple&delimited*list"> <cfoutput> <cfloop list="#locTempList#" delimiters=",,!,^,&,*" index="i"> #i#<br> </cfloop> </cfoutput> Note: The delimiters in the above example are: comma exclamataion caret ampersand asterisk