String: added template choice() to simplify some code.

* Changed return type ssize_t to size_t.
* Renamed findChar to findC.
String: added specialisation for split().