/ Published in: Rails
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
def remove_q_n_trim str return str.gsub(/"|^ +| $+|\n/i,'').to_s end