--0-1772746274-12404035766653
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
>*'s suggestion is the simplest
Well I just picked it up on one of the n-tips for ruby lists. This isn't the list I originally studied but it does contain the same idea in tip #9:
9. Pretty print strings decimals. The format descriptors are pretty
much similar to those used in C printf so I won go intoetails.
my_string = "%01d %06d %02d" % [type, code, age]
http://alexbrie.net/2002/10-ruby-programming-tips-you-should-already-know/
These lists are an invaluable resource to improve your code.
--0-1772746274-12404035766653--