Added a String object extension.