From: Erich Schubert Date: 2001-04-26T03:41:24+09:00 Subject: [ruby-talk:14239] question about String.split run this line in ruby... ["",""].join("/").split("/") you get an empty array :-( How can i split the string and get an the same result i had before joining them? i had a directory name and got some verry irritating behaviour this way... "/dir".split("/") gives the same result as "/dir/".split("/") :-( so "/dir/".split("/").join("/") gives not "/dir/" but "/dir" :-( Greetings, Erich