Added the splitString() function to Trainer.
Added the splitString() function to Trainer.