|
-
Nov 3rd, 2008, 10:20 AM
#1
Thread Starter
Fanatic Member
sorting comma delimited strings
Ok
If I have 2 strings :
strA = "1,2,3" and strB = "3,2,1"
and I compare them they obviously wont equal eachother.
However in my logig because they both contain the same 3 numbers I want to be able to say well yes man they do equal eachother.
This would require that I sort both strings.
I have seen a number of approaches but none seem too concise.
Any Ideas ?
Thanks in Advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|