Strip « String « Ruby






1.strip both sides
2.Strip from both side in place
3.Strip the tab and new line characters
4.strip removes other kinds of whitespace, too:
5.Managing Whitespace and new line character