Daniel Harple
3/21/2006 11:13:00 PM
On Mar 21, 2006, at 11:43 PM, Wes Gamble wrote:
> Daniel,
>
> Not to be obtuse, but what is the # sign for in the specification?
>
> And what is the mod 100 -> 0x64 business about?
>
> wg
Sorry, I misread your question. What you need is String#unpack. Do a
'ri String#upack'. String#% is the format method. It's function is
the same as printf. See Kernel#sprintf for a list of format options
(including #).
-- Daniel