strip_newlines

功能說明
移除字串中的所有換行符號(\n 和 \r\n)。


語法

{{ 字串 | strip_newlines }}

範例

{{ "Hello\nWorld\r\nAgain" | strip_newlines }}
HelloWorldAgain