Heiko Wundram <heikowu at ceosg.de> writes: > in the string are contained in the chars array which you pass in (namely > "ne"), and thus they are also stripped from the string. Maybe the docs ought to state that the method stops once it hits a char not in the *set* the passed string represents.