REPLSTR$( )

REPLSTR$( source$, a$, b$ )

Description:

This function replace the occurances of one string with another.

Usage:

  a$ = "this is a test and this is not a test and this might be a test"
  b$ = replstr$(a$, "this", "THIS")
  print b$

Produces:

  THIS is a test and THIS is not a test and THIS might be a test

Note: See also MID$( ), REMCHAR$( )