Splits the given string into two parts before and after separator.
Useful together with destructuring declarations