$line-out = str_replace('\r', '', str_replace('\n', '', $line-in)); 上面的方法對我有效,但是,我在某個地方看到了一個[\n\r]示例,似乎找不到它。
確定! 回上一頁