A
Aryk Grosz
Im doing some manipulation of strings, and there are some characters
that Ruby just really does not like:
“ –
If you try to paste these into a Ruby console the cursor will jump
around. Likewise, if you put it in a string and try to do text[5,4] it
will give you the wrong piece of the text.
How do I get around this. Is there some special escape command or do I
just have to gsub these characters?
that Ruby just really does not like:
“ –
If you try to paste these into a Ruby console the cursor will jump
around. Likewise, if you put it in a string and try to do text[5,4] it
will give you the wrong piece of the text.
How do I get around this. Is there some special escape command or do I
just have to gsub these characters?