Mega Code Archive

 
Categories / Ruby / String
 

Managing Whitespace and new line character

" \tWhitespace at beginning and end. \t\n\n".strip