Add a doctest for the string Add function.
Merge pull request #19895 from jbranchaud/add-string-add-doctest

Add a doctest for the string Add function.

Reviewed-by: steveklabnik