search( search_text, within_text, start_num )
Searches the text for a particular substring, returning the positional index of the first character of the first match.
See also: find()
Keyword | Type | Description |
---|---|---|
|
Text |
The text that will be searched for. |
|
Text |
The text within which the search text will be searched for. |
|
Number |
The positional index of the first character of the substring to be returned. |
Number
The search_text parameter does not support wildcard characters.
The first character of the entire within_text value is considered to have an index = 1.
search("to","boston",1)
returns 4
Feature | Compatibility | Note |
---|---|---|
Portals | Compatible | |
Offline Mobile | Compatible | |
Sync-Time Custom Record Fields | Compatible | Can be used to create a custom record field that only evaluates at sync time. |
Real-Time Custom Record Fields | Incompatible | |
Process Reports | Compatible | |
Process Events | Compatible |
search() Function