Posted By

miceno on 12/18/10


Tagged

format strings


Versions (?)

Format string as title with center


 / Published in: Groovy
 

Create a String centered and filled with a character

  1. "title".center( 40, "-")

Report this snippet  

You need to login to post a comment.