Split Strings By Separator Leetcode