Reversing the order of numbers in a string
Posted: 30 Jul 2015, 07:38
Hello
I have a string with these numbers: "3 9 15 23 9 6 8 5", and I want to get a string with reversed order of those numbers.
To get this string: "5 8 6 9 23 15 9 3". Any idea?
Thanks.
I have a string with these numbers: "3 9 15 23 9 6 8 5", and I want to get a string with reversed order of those numbers.
To get this string: "5 8 6 9 23 15 9 3". Any idea?
Thanks.