Closed GoogleCodeExporter closed 9 years ago
Hi, thanks for the suggestion. I've had similar thoughts before, and your pad
method is similar to the fill method in Issue 98 (so I'm merging the issues).
Incidentally these are almost equivalent:
pad(s, length, value)
s.prepend((length-s.len)*[value])
Original comment by dr.scott...@gmail.com
on 21 Jun 2011 at 8:59
Oh, they are! Thanks. I'll keep an eye on Issue 98.
Original comment by pat...@gmail.com
on 21 Jun 2011 at 11:11
Original issue reported on code.google.com by
pat...@gmail.com
on 21 Jun 2011 at 7:34