Simplified string splitter