LCASE$ function

Purpose | Return a lowercase version of a string argument.
Syntax | s$ = LCASE$(string_expression [,ANSI | OEM])

Remarks

LCASE$ returns a string equivalent to string_expression, except that uppercase letters in string_expression are converted to lowercase. The optional ANSI or OEM parameter specifies whether the conversion is made using the ANSI charset for the system, or the original IBM OEM charset. If no charset is specified, PowerBASIC for Windows uses the system ANSI charset, while PB/CC uses the IBM OEM charset. Only "International" characters in the range of CHR$(128) to CHR$(255) are affected by this parameter.

The OEM charset is based upon the original IBM OEM charset to ensure compatibility with programs written for all previous versions of the PowerBASIC compiler.

See also | MCASE$, UCASE$
Example | x$ = LCASE$("Cats aren't ALWAYS good.")
Result | cats aren't always good.