Stu wrote: > Right on. looks like String#split will take regular expressions. > > This is one deals with white space issues by splitting on the newline > char \n in filenames: > > x = `ls`.split(/\n/) File names can contain new lines. Regards Oli -- Man darf ruhig intelligent sein, man muss sich nur zu helfen wissen