From: Josh Cheek Date: 2010-08-27T06:10:48+09:00 Subject: Re: May I know that why the zz[0]=="s" return false, please? --0016364592e08d96c7048ec06e53 Content-Type: text/plain; charset=ISO-8859-1 On Thu, Aug 26, 2010 at 2:35 PM, Oscar Lok wrote: > Dear Sir, > > May I know that why the zz[0]=="s" return false, please? > > aa = '"s";"d";"f"' > zz = aa.split(";") > zz[0]=="s" > false > > Thanks > > Regards > Oscar > -- > Posted via http://www.ruby-forum.com/. > > You output an inspected view of your objects with the method p, that should help you see the difference. aa = '"s";"d";"f"' zz = aa.split(";") p zz[0] p "s" --0016364592e08d96c7048ec06e53--