searchb( search_text, within_text, start_num )
Searches the text for a particular substring, returning the positional index of the first byte of the first match.
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 in bytes of the first byte of the substring to be returned. |
Number
The first byte of the entire text value is considered to have an index = 1.
The search_text parameter only supports ?
as a wildcard character.
searchb("to","boston",1)
returns 4