String functions

Hi to all !
I am trainee on RoR. I did not know how to use string functions? Please
help me.I am waiting for your positive response.

The String class has methods associated with it. You use these the same
way as most methods in Ruby:

s = ‘a string’

s.upcase
#=> “A STRING”

s.reverse
#=> “GNIRTS A”

On 9 October 2013 11:57, alvis smith [email protected] wrote:

Hi to all !
I am trainee on RoR. I did not know how to use string functions? Please
help me.I am waiting for your positive response.

Googling for
ruby string
led me straight to http://ruby-doc.org/core-2.0.0/String.html

Colin

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs