From: Lyle Johnson Date: 2003-04-12T01:09:10+09:00 Subject: Re: rb_str_chomp or rb_str_strip Jim Freeze wrote: > How do I access the chomp(!) or strip(!) functions in C? You'll probably need to call them indirectly using rb_funcall(), i.e. VALUE inString, outString; outString = rb_funcall(inString, rb_intern("chomp"), 0, NULL); Hope this helps, Lyle