2012年6月4日 星期一

Remove windows-style line breaks

// 移除換行符號
p_string.replace(/[\r\n]+/g, '');

沒有留言:

張貼留言