SIMPOL Documentation

parsenext()

Description

This function searches through a string looking for a specific start boundary (can be one or more characters). It then returns the substring beginning from that boundary until the end boundary is reached or the end of the string. Returns a string containing the substring found between the beginning and ending character not including the boundary characters. If the first character is not found, returns "", if the second is not found, returns the remainder of the string following the start character.

Prototype

parsenext ( string s, string startchar, string endchar )

Parameters

ParameterDefault valueType nameDescription
sNonestring
startcharNonestring
endcharNonestring