cap()

Function group Execute on client Platform(s)
String YES All

Syntax

cap(string)

Description

Returns the capitalized representation of a string, that is, the first letter of each and every word in the string is capitalized.

Example

Calculate lResult as  cap('gRaVeS, hutton, MONKS')
# returns 'Graves, Hutton, Monks'

Calculate lResult as cap('on the 8TH day')
# returns 'On the 8th Day'