Fix Issue 9699 - strip functions should allow setting custom match character.