Added new string utility functions replace-substring, format-hash and
find-chars.