From: Bigmac Turdsplash Date: 2009-09-07T05:27:10+09:00 Subject: ["test string\n", nil] i need to strip \n and nil im sending files back and forth form a client and a server using sockets, the first string the server sends to the client is the size of the file, "59023" the client recives this string in this format "59023\n", nil i need to trim \n and nil from the string so i can do some math with the string... -- Posted via http://www.ruby-forum.com/.