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

From Catalyst
Revision as of 04:47, 1 May 2013 by ThrashBot (talk | contribs) (Updated from revision control)
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.