Now using Python style True/False.
Added test cases. Cleaned up String.replace(...) signature.