From: Jani Monoses Date: 2004-09-23T20:05:20+09:00 Subject: Re: String#pad ? > Did you mean to say "multiple of two"? 'Cause that's what your code seems > to be doing. definitely my bad wording since I mislead both of you :) I just thought that something out of the box to do this would be nice String#pad and String#pad! data.pad!(n) #pad data to next 2^n boundary or maybe powers of two are two restrictive than make n actually mean that make the strings length a multiple of n. Jani