parsestr()
Description
This function searches the input string for the search string and if it is
found, returns the text up to and including the search text from the left
of the string. If it does not find the search text it returns the whole
string. The original sInput
is modified to reflect
what is left after searching for the first instance of the delimiter
string.
Prototype
parsestr
(
string
,
string sInput
)
sSearch
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
sInput | None | string | |
sSearch | None | string |