Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

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



  • Prev by Date: Re: A modified StyleSheet results in FontSize fluctuations in the pdf
  • Next by Date: problems
  • Previous by thread: Re: A modified StyleSheet results in FontSize fluctuations in the pdf
  • Next by thread: Re: Simple String question