Convert PHP code into Ruby!
RSS icon Email icon Home icon
  • chop

    Posted on July 1st, 2009 RubyLove No comments

    The chop() function is only an alias of rtrim, which strips whitespace (or other characters) from the end of a string.

    For further information about how chop() can be used, see rtrim().

    Leave a reply