strip
功能說明
移除字串開頭與結尾的所有空白字元(空格、Tab、換行)。
語法
{{ 字串 | strip }}
範例
{{ " hello world " | strip }}
hello world
Updated 21 days ago
功能說明
移除字串開頭與結尾的所有空白字元(空格、Tab、換行)。
語法
{{ 字串 | strip }}
範例
{{ " hello world " | strip }}
hello world
Updated 21 days ago