Changed the API of String.