SEARCH

Usage

TIBCO iProcess Workspace (Browser)

TIBCO iProcess Workspace (Windows)

Searches for a string in another string.

Syntax

SEARCH (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:

SEARCH("abc", "junkabcdefs") 

returns the value 5.

SEARCH("abc", "a") 

returns the value 0.

TIBCO Business Studio:

IPEStringUtil.SEARCH("abc", "junkabcdefs");
IPEStringUtil.SEARCH("abc", "a");