Difference between revisions of "STRTOLOWER()"

From Recital Documentation Wiki
Jump to: navigation, search
(Class)
Line 1: Line 1:
 
 
 
==Purpose==
 
==Purpose==
 
Function to convert characters to lower case
 
Function to convert characters to lower case

Revision as of 16:27, 8 December 2009

Purpose

Function to convert characters to lower case


Syntax

STRTOLOWER(<expC>)


See Also

ISLOWER(), ISUPPER(), LOWER(), PROPER(), STRTOUPPER(), STRTRAN(), TRANSFORM(), UPPER()


Description

The STRTOLOWER() 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.


Example

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


Products

Recital Server, Recital