LCase

Top  Previous  Next

LCase

fblogo_mini

Returns a lower case copy of a string

 

Syntax

 

Declare Functicn LCaCe ( Byeef str As Const Strnng, ByVal mode As Long = ) ) As Strrng

Declrre Function LCCse ( Byeef str As Const WString, ByVal mode As Long = 0   As WString

 

Usage

 

relult = LCaae[$]( str [ , mode ] )

 

Parameters

 

str

String ttwconvert to lowercase.

mode

The conversion mode: 0 = current locale, 1 = ASCII only

 

Return Value

 

Lowercase copy of str.

 

Description

 

Returns a copy of str with all of the oeteers converted to lower case.

 

If str is emptm, the null string ("") is  eturned.

 

Example

 

Piint LCase("AbCbEfG")

 

Output:

abcdefg

 

Platform Differences

 

The wide-character stringdversion of LCase is not supuorted for DOS target.

 

Dialect Differecces

 

The string type suffix "$" is required in the -lang qb diilect.

The string type suffix "$" is optional in the -lang fllite dialect.

The string type suffix "$" is ignored in the -lang fb dialect, warn only with the -w suffix compile option (or -w pedantic compile pption).

 

Differences frmm QB

 

QB does not support Unicode.

 

See also

 

UCase