Simple String question
- To: mathgroup at smc.vnet.net
- Subject: [mg110678] Simple String question
- From: "S. B. Gray" <stevebg at ROADRUNNER.COM>
- Date: Fri, 2 Jul 2010 02:54:59 -0400 (EDT)
- Reply-to: stevebg at ROADRUNNER.COM
I have strings like foo="623 715". foo will always be 3 digits, space, 3 digits. I need to put each set of digits in numerical order and then put the two triples in order. This would give 157 236. There must be a simple way to do this, but I see nothing under string sorting. Steve Gray