From: Mark Thomas Date: 2008-09-29T23:44:08+09:00 Subject: Re: Counting Tabs and splitting by that number > it wouldnt give me the two, i so wish it did but i found a way around it > this is my solution and it works perfect > eg = "abcdefg \t\t\t\t\t\t hi" > splitArray = eg.split("\t") > splitArray = splitArray.delete("") IMO, the regex solution is better splitArray = eg.split(/\t+/) I think you put it in quotes. Leave the quotes out. -- Mark.