Format string as title with center

/ Published in: Groovy
Save to your folder(s)

Create a String centered and filled with a character

Copy this code and paste it in your HTML
  1. "title".center( 40, "-")

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.