Difference between revisions of "LOWER()"

From Lianjapedia
Jump to: navigation, search
m (Text replace - "Recital" to "Lianja")
Line 27: Line 27:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
[[Category:String Data]]
 
 
[[Category:String Data Functions]]
 
[[Category:String Data Functions]]

Revision as of 06:40, 4 February 2013

Purpose

Function to convert characters to lower case

Syntax

LOWER(<expC> | <memofield>)

See Also

ISLOWER(), ISUPPER(), PROPER(), SET STRESCAPE, STRTOLOWER(), STRTOUPPER(), STRTRAN(), TRANSFORM(), UPPER()

Description

The LOWER() function converts the characters in the character expression <expC> or memo <memofield> to lower case. This function is particularly useful if used in index keys and their corresponding SEEK expressions, since a search expression in lower case will match both upper and lower case characters.

Example

? lower("Lianja")
recital
 
// Another Example
use accounts
index on lower(company) to company
replace company with "Company Name"
seek "company name"
? found()
.T.