RSEARCH
Usage
TIBCO iProcess Workspace (Browser)
TIBCO iProcess Workspace (Windows)
Searches backwards for a string in another string.
Syntax
RSEARCH (search, target)
where:
| • | search is the text string to search for. |
| • | target is the text string to be searched. |
Returns
One of the following numeric values:
|
Value |
Description |
|
0 |
No match |
|
>0 |
A match was found. The value indicates the character position of the start of the search string from the start of the target string (counting from 1). |
Examples
TIBCO iProcess Modeler:
RSEARCH("abc", "junkabcdefs")
returns the value 5.
RSEARCH("abc", "a")
returns the value 0.
TIBCO Business Studio:
IPEStringUtil.RSEARCH("abc", "junkabcdefs");IPEStringUtil.RSEARCH("abc", "a");