All,
I have a variable that holds a comma delimited list of upto 5 numbers.How can I check that the numbers are not duplicated.
eg: the below is a good set
<cfset varMyNumbers = "12,43,55,76,44">
the below is not a good set
<cfset varMyNumbers = "12,43,55,76,43"> (43 is duplicated)
Thanks
I have a variable that holds a comma delimited list of upto 5 numbers.How can I check that the numbers are not duplicated.
eg: the below is a good set
<cfset varMyNumbers = "12,43,55,76,44">
the below is not a good set
<cfset varMyNumbers = "12,43,55,76,43"> (43 is duplicated)
Thanks