Please enable JavaScript to view this site.

A-Shell Development History

Navigation: Version 5.1/6.0, builds 1100-1271 > 1215 – 12 May 2011 > XSTRIP.SBR

Pair-wise character substitution

Scroll Prev Top Next More

Filter must contain an even number of characters, interpreted as pairs. Each occurrence in strarg of the first character in each pair (of filter) is replaced with the second character of the pair. Example:

XCALL XSTRIP,strarg,"A1B2",6   ! replace all "A" with "1"; "B" with "2"