Mnwci center() Function

Syntax

center(string,[char])

Description

The center() function  will centre align the given string, using an optional character (space is default) as the fill character

Example

include("string")
println(center("foobar", 20 , "+"))
println(center("foobar", 20))

+++++++foobar+++++++
       foobar