### LCase (str)

LCase and LowerCase (str) are equivalent functions. However, LCase is preferred in Basic syntax, whereas LowerCase is preferred in Crystal syntax.

##### Argument

str is a text value

##### Returns

String value.

##### Action

LCase converts the given string to all lower case and returns it.

##### Typical use

A good use of this function is when a field contains both uppercase and lowercase letters and you want to convert all letters to lowercase for consistency.

##### Examples

The following examples are applicable to both Basic and Crystal syntax:

`LCase ("Description")`

Returns "description".

`LCase ({customer.FIRST NAME})`

Returns "ronald", where {customer.FIRST NAME} is "Ronald".

`LCase ("Ronald Black")`

Returns "ronald black".

`LCase ("ABC12345")`

Returns "abc12345".

`LCase ("BrEaD " + "AND " + "bUtTeR")`

Returns "bread and butter".

##### Comments

- This function is designed to work like the Visual Basic function of the same name.
- Numbers that are part of the text are not affected by the LCase function.

###### Related topics

UCase (str)

Seagate Software, Inc. http://www.seagatesoftware.com Please send comments to: techpubs@seagatesoftware.com