How to: |
The LCWORD3 function converts the letters in a character string to mixed-case by converting the first letter of each word to uppercase and converting every other letter to lowercase. In addition, a single quotation mark indicates that the next letter should be converted to uppercase, as long as it is neither followed by a blank nor the last character in the input string.
For example, 'SMITH' would be changed to 'Smith' and JACK'S would be changed to Jack's.
LCWORD3(length, string, output)
where:
Integer
Is the length, in characters, of the character string or field to be converted, or a field that contains the length.
Alphanumeric
Is the character string to be converted, or a field that contains the string.
Alphanumeric
The length must be greater than or equal to length.
For the string O'CONNOR’s, LCWORD3 rerturns O'Connor's.
For the string o'connor’s, LCWORD3 also rerturns O'Connor's.
iWay Software |