>>>>> "R" == Robert Feldt <feldt / ce.chalmers.se> writes:

R>   def cjust(width)

 This ?

pigeon% ruby -e 'p "abc".center(12)'
"    abc     "
pigeon% 


Guy Decoux