Update String.php

Fixed some doc bugs so PHPDoc doesn't complain.