New methods for StringExtensions.