returns the substring between the two specified expressions
None
None
If the string specified as the first argument contains the expression specified as the second and third argument in the correct order, the substring starting between the two matching expressions is returned.
If the string does not contain the expressions (or in the wrong order) then the empty string is returned.
An optional fourth argument can be used to match the nth occurence of the specified expression. If this value is negative then -1 means the last occurrence, -2 means the next-to-last occurence and so on.
The end-expression is always the next match after the start-expression.
std::behind | returns the substring behind the specified expression |
std::before | returns the substring before the specified expression |
std_types::string | returns the substring between two expressions |