Replaced string lib usage with str methods
Merge pull request #8623 from malinoff/drop-string-module

Replaced string lib usage with str methods