added String splitting function & test