Three part string splitter.