B
Brian Simmons
Hi All,
Thought of several ways to accomplish what I want to do, but I'm asking to
see if perhaps there a preferred method or super efficient way.
Say I've got 2 strings which are comma separated lists:
"1,2,3,4,5"
"5,4,3,2,1"
I want to make sure the 2 lists are equal, i.e. they contain the same data
elements (not necessarily in the same order).
Such that:
"1,2,3,4,5" equals "5,4,3,2,1"
"1,2,3,4,5" equals "5,3,4,1,2"
"1,2,3,4,5" does not equal "5,4,3,2,1,0"
Any good suggestions?
Thanks,
Brian
Thought of several ways to accomplish what I want to do, but I'm asking to
see if perhaps there a preferred method or super efficient way.
Say I've got 2 strings which are comma separated lists:
"1,2,3,4,5"
"5,4,3,2,1"
I want to make sure the 2 lists are equal, i.e. they contain the same data
elements (not necessarily in the same order).
Such that:
"1,2,3,4,5" equals "5,4,3,2,1"
"1,2,3,4,5" equals "5,3,4,1,2"
"1,2,3,4,5" does not equal "5,4,3,2,1,0"
Any good suggestions?
Thanks,
Brian