Added a split string method.