chop « String « Ruby






1.Call shop function from string class
2.chop removes the last character (a quote) with abandon
3.chop removes trailing character or line terminator (\n, \r, or \r\n)