Description

Given a string, returns the string with initial capitalization (the first character of each word in upper case, the rest of the word in lower case).

Note: For a more complete capitalization function, use NameCap().

Note: To convert from upper case to lower case, or vice versa, see the example in the Convert statement.

Syntax

result = MixedCase(source_string)

Parameters

The MixedCase function has the following parameter.

ParameterDescription
source_stringAn OpenInsight string.

Returns

result = A string with initial capitalization.

See Also

NameCap()Convert statement

Example

* returns Edgar Allan Poe
result = Namecap("eDGar aLLAn pOE")
* returns IBM Corporation, Inc.
result = Namecap("i B m CorporAtion, iNc.)
  • No labels