Mwnci title() Function

Syntax

title(string)

Description

The title() function returns a string where the first character in every word is upper case. Apart from the first character of all words, the rest are lower case

Example

include("string")
println(title("this is a title"))
println(title("THIS is a TiTle"))


This Is A Title
This Is A Title