Update string.rst

These changes should be checked for accuracy, especially regarding tail(). 

The documentation for analogous methods in String should be modified in the same way.
Merge pull request #1380 from alanfgh/patch-24

Update string.rst