Difference between revisions of "STRSTR()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
==Class== | ==Class== | ||
String Data | String Data | ||
Line 22: | Line 21: | ||
==Example== | ==Example== | ||
<code lang="recital"> | <code lang="recital"> | ||
− | + | ? "Release information: " + strstr(version(2),"Released") | |
− | + | ||
− | + | ||
</code> | </code> | ||
Revision as of 15:15, 13 October 2009
Class
String Data
Purpose
Function to perform substring extraction
Syntax
STRSTR(<expC1>, <expC2>)
See Also
AT(), ATNEXT(), INLIST(), LEFT(), OCCURS(), RAT(), RIGHT(), 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
Recital Server, Recital