AFTER$( )

AFTER$( source$, match$ )

Description:

This function searches in source$ for a match using match$.  If it finds a match then it will return everything after the matching part of the string.  If there is more than one match of match$ in source$ then it will return the rest of source after the position of the first match.

Usage:

 print after$("this is another test", "th")

produces:

  is is other test

If there is no match it will return an empty string.

See also AFTERLAST$( ), UPTO$( ), MID$( )