Mwnci ljust() Function

Syntax

ljust(string,length, [character])

Description

The ljust() function will left align the string, using a specified character (space is default) as the fill character.

 

Example

include("string")
println(ljust("foobar", 20 , "+"))
println(ljust("foobar", 20),"<---")

foobar++++++++++++++
foobar              <---