Refactors solution to case insensitive separator (x)