Hi,
I have a variable with value = 041423. How do I sort this in ascending order with distinct numbers(as in answer should be - 01234)
Thanks for help in Advance
How about the following?
String.Join("",yourString.OrderBy(Function(c) c).Distinct)
Regards,