Hu there guys,

I hava some problem with the strings, the double-quoted ones.

here is my code :

a = "parsley"

but a[0] returns 112 which is ASCII for 'o' not 'p'
the same for a[1] a[2] they all return the incorrect ascii code for my
characters...

is somethig wrong with my ruby or my code??

Thx in advance for all your time and help,
radu

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to