Difference between revisions of "CAPSTR - Capitalises the first letter of each word in a string (Reports & Settings Report Generator function)"
From Catalyst
(Updated from revision control) |
(Updated from revision control) |
||
Line 9: | Line 9: | ||
;$CAPSTR{"MR BOB MONEYBAGS"} | ;$CAPSTR{"MR BOB MONEYBAGS"} | ||
:The above in a text formula would result in 'Mr Bob Moneybags'. | :The above in a text formula would result in 'Mr Bob Moneybags'. | ||
− | ;$CAPSTR{$FORENAME{"MR BOB MONEYBAGS"}} | + | ;$CAPSTR{ $FORENAME{"MR BOB MONEYBAGS"} } |
:The above in a text formula would result in 'Bob'. | :The above in a text formula would result in 'Bob'. | ||
;$CAPSTR{A03} | ;$CAPSTR{A03} |
Revision as of 04:47, 1 May 2013
Syntax
$CAPSTR{string}
Description
Will convert the first letter of each word in string to upper case.
|
Parameters
- string
- A text parameter that can not be omitted.
- Input Text.
Returns
A text value. Will return the text string capitalised.