SIMPOL Documentation

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 sInput, string sSearch )

Parameters

ParameterDefault valueType nameDescription
sInputNonestring
sSearchNonestring