support str.split() method