at some point we should make this a helper method in `Strings` and use it across the board I bet it can safe hundreds of lines