From: Brian Candler Date: 2011-11-09T03:02:44+09:00 Subject: Re: Getting certain characters from a string Reese Chappuis wrote in post #1030886: > I have a string that I need to get certain characters at a given index. > However, doing something like str[0] gives the ascii number, not the > actual > character. How do I get it to give me the character? str[0,1] This is compatible with both ruby 1.8 and ruby 1.9. -- Posted via http://www.ruby-forum.com/.