CAPSTR - Capitalises the first letter of each word in a string (Reports & Settings Report Generator function)

From Catalyst
Revision as of 13:03, 22 September 2016 by ThrashBot (talk | contribs) (Updated from revision control)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Syntax

$CAPSTR{string}

Description

Will convert the first letter of each word in string to upper case.

$CAPSTR{"MR BOB MONEYBAGS"}
The above in a text formula would result in 'Mr Bob Moneybags'.
$CAPSTR{ $FORENAME{"MR BOB MONEYBAGS"} }
The above in a text formula would result in 'Bob'.
$CAPSTR{A03}
Would return a capitalised copy of a company name.


Parameters

string
A text parameter that can not be omitted.
Input Text.

Returns

A text value. Will return the text string capitalised.

See also

$UPSTR, $LOSTR.