unified replacing, trim, strtolower etc.
more tests