I guessed by replacing chop() with chomp() and this seemed to work. chop() removes the last char while chomp() removes whitespace. Is that correct? Is removing whitespace what was desired? clueless-ly y'rs, Neal