From: ts Date: 2003-04-12T01:00:44+09:00 Subject: Re: rb_str_chomp or rb_str_strip >>>>> "J" == Jim Freeze writes: J> How do I access the chomp(!) or strip(!) functions in C? res = rb_funcall2(str, rb_intern("strip"), 0, 0); res = rb_funcall2(str, rb_intern("chomp"), 0, 0); *or* res = rb_funcall(str, rb_intern("chomp"), 1, rb_str_new2("uu")); Guy Decoux