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


Comments


You need to login to view comments.