Mwnci istitle() Function

Syntax

istitle(string)

Description

The istitle() function returns true if all words in a text start with a upper case letter, AND the rest of the word are lower case letters, otherwise false.

Example

include("string")
println(istitle("Foo & Bar"))
println(istitle("Foo bar"))

true
false