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

MathGroup Archive 2010

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

Search the Archive

Number to string headed by zeros

  • To: mathgroup at
  • Subject: [mg110297] Number to string headed by zeros
  • From: Rui <rui.rojo at>
  • Date: Sat, 12 Jun 2010 05:32:16 -0400 (EDT)

I need to create strings out of integers, padding them with zeros,
cause otherwise they end up sorted in the wrong order. "10.gif" before "1.gif".
For now I'm gonna do it by adding 1000, converting to string, and
taking the heading 1, but I'm sure there are better options. THanks


  • Prev by Date: corrupted notebook
  • Next by Date: Automatic update of variables
  • Previous by thread: Re: corrupted notebook
  • Next by thread: Re: Number to string headed by zeros