Cuts off leading and trailing white space.
chop/2 Cuts off leading and trailing white space of "string".
string atom result atom
chop(' one two ', L) => L = 'one two'
This predicate is not part of the ISO-Prolog Standard.
Darueber read on...