del_ch/2

del_ch(STRING,CHAR) -(i,i)

Compatibility: Exclusive to G.I.S. Prolog.

del_ch/2 deletes all occurrences of a character (arg.2) in a string (arg.1),"destructively" (i.e. it permanently alters the string in arg.1.

This predicate has been implemented in 32-bit Assembly Language.

See also: del_ch/3.