CONTAINS()

From Recital Documentation Wiki
Revision as of 11:48, 17 November 2010 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Template:YLM to do

Purpose

Function to determine whether the current record contains a specified character string


Syntax

CONTAINS(<expC>,<expL>)


See Also

CHROVERLAP(), EMPTY(), EVALUATE(), EXPRCHECK(), FOR(), INDEX, INLIST(), INRANGE(), ISALPHA(), ISBLANK(), ISDIGIT(), MAX(), MAXVALUES(), MIN(), MINVALUES(), TYPE(), VARTYPE()


Description

The CONTAINS() function returns true (.T.) if the current record contains the specified character string, <expC>.


Parameters Description
<expC> The character string to search for.
<expL> .


Example

open database southwind
use customers
// Restrict index to records containing string "USA"
index on lower(companyname) for contains("USA",.F.)


Products

Recital Server, Recital