Quick refactor of StringExtensions