remove

Syntax: %remove(p,s)

Remove substring p from string s. Note that it only removes the first occurrence. To remove all occurrences, use the %replace function.

Examples:

#SHOW %remove(bcd,abcdabcd)

displays:

aabcd


Contents read repeat