Added str::startswith.
str::rstrip added. This was a bit tricker than lstrip.
str::endswith written.