Because 75 if the character code of the second character in the
string.
Use split with a bang intead (split!) if you wish to change the
variable itself.
Thanks for your help. I was not assigning the result of split.
I know this is simple Ruby question, but I was looking for a quick
help and that' why posted my question in this group. I am not a member
of "Ruby" group.
Thanks for your help. I was not assigning the result of split.
I know this is simple Ruby question, but I was looking for a quick
help and that' why posted my question in this group. I am not a member
of "Ruby" group.
That doesn't make it OK to ask off-topic questions here.