What's the best way to split a string into just two parts using a single-char separator?
The string should be split on the first instance of the separator. The method should consider performance. It shouldn't assume that the separator exists in the string, that the string has any characters, etc; should be general-purpose code you can just plug in wherever you need.
(It always takes me a few minutes to rewrite this sort of thing whenever I need it, so I thought I'd make a question for it)