doc: Method examples for String

Reword comments on unsafe methods regarding UTF-8.