Difference between revisions of "LOWER()"

From Recital Documentation Wiki
Jump to: navigation, search
Line 8: Line 8:
  
 
==Syntax==
 
==Syntax==
LOWER(<expC>)
+
LOWER(<expC> | <memofield>)
  
  
Line 16: Line 16:
  
 
==Description==
 
==Description==
The LOWER() function converts the characters in the character expression <expC> 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.
+
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.
  
  

Revision as of 11:43, 23 October 2009

Class

String Data


Purpose

Function to convert characters to lower case


Syntax

LOWER(<expC> | <memofield>)


See Also

ISLOWER(), ISUPPER(), PROPER(), 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("Recital")
recital
 
// Another Example
use accounts
index on lower(company) to company
replace company with "Company Name"
seek "company name"
? found()
.T.


Products

Recital Server, Recital