View/Edit #29!center_doc

File name: center_doc
:center/re (string, width[, left-filler[, right-filler]])
Places a string in the middle of a line.  The default left-filler is a space; the default right-filler is the left-filler.
Eg. :center(' Done ', 20, '<', '>') =>  '<<<<<<< Done >>>>>>>'

http://files.moo.ca:8081/2/9/center_doc
Size: 244 bytes.
File perms: Readable


You are not logged in.

[home | help | who | search | setup | code]