Description
Given a string, returns the string with its proper capitalization.
Note: See example in Convert statement for converting lower case to upper case, or vice versa.
Syntax
result = Namecap (source_string)
Parameters
The Namecap function has the following parameter.
Parameter | Description |
---|---|
source_string | An OpenInsight string. |
Returns
result = A string with its proper capitalization.
See Also
MixedCase(), Convert statement
Example
* returns Edgar Allan Poe result = Namecap("eDGar aLLAn pOE") * returns IBM Corporation, Inc. result = Namecap("i B m CorporAtion, iNc.)