Center text by rotary-o

while(0<1)println{val s=readLine
" "*(10-s.size/2)+s}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page