From: Hadmut Danisch Date: 2010-05-02T03:49:39+09:00 Subject: [ruby-core:29919] pack/unpack 0-terminated strings? Hi, I've checked several ruby books, but did not find a command for the unpack functions (String->Array) to convert a C-style 0-terminated String of previously unknown length into a ruby string. E.g. parse someting like apple\0orange\0banana\0 Is there an (undocumented) pack/unpack function to do that? regards Hadmut