added some split functions to char