STRSTR()

From Lianjapedia
Revision as of 06:51, 4 February 2013 by Helen.george (Talk | contribs)

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

Purpose

Function to perform substring extraction

Syntax

STRSTR(<expC1>, <expC2>)

See Also

AT(), ATNEXT(), INLIST(), LEFT(), OCCURS(), RAT(), RIGHT(), SET STRESCAPE, STR(), STREXTRACT(), STRTRAN(), STUFF(), SUBSTR()

Description

The STRSTR() function returns a substring from <expC1> starting from <expC2> to the end of <expC1>. If <expC2> is not found, an empty string is returned.

Example

? "Release information: " + strstr(version(2),"Released")

Products

Lianja Server, Lianja