/*
* call-seq:
* str.eql?(other) => true or false
*
* Two strings are equal if the have the same length and content.
*/staticVALUErb_str_eql(str1,str2)VALUEstr1,str2;{if(TYPE(str2)!=T_STRING||RSTRING(str1)->len!=RSTRING(str2)->len)returnQfalse;if(memcmp(RSTRING(str1)->ptr,RSTRING(str2)->ptr,lesser(RSTRING(str1)->len,RSTRING(str2)->len))==0)returnQtrue;returnQfalse;}