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