remove删除字符串中的匹配项
ZKEASOFT August 28, 2018
remove
remove
用于从字符串中删除指定子字符串的每个匹配项。
输入
{{ "I strained to see the train through the rain" | remove: "rain" }}
输出
I sted to see the t through the
ZKEASOFT August 28, 2018
remove
用于从字符串中删除指定子字符串的每个匹配项。
输入
{{ "I strained to see the train through the rain" | remove: "rain" }}
输出
I sted to see the t through the