utsub.wbb - Substitute Occurrences of Text with Replacement Text

Syntax

CALL "utsub.wbb", text$, from$, to$

Description

This low-level routine substitutes all occurrences of from$ with to$ in text$. It is nonrecursive, so to$ may contain from$, or conversely, from$ may contain to$.