spacify会在变量的字符串中插入空格。 你可以设置插入的是空格或者别的字符。

参数顺序类型必选参数默认值说明
1stringNoone space插入字符间的字符

例子:
articleTitle:Something Went Wrong in Jet Crash, Experts Say.

模板:

_{$articleTitle}_
_{$articleTitle|spacify}_
_{$articleTitle|spacify:"^^"}_

输出:

Something Went Wrong in Jet Crash, Experts Say.
S o m e t h i n g   W .... snip ....  s h ,   E x p e r t s   S a y .
S^^o^^m^^e^^t^^h^^i^^n^^g^^ .... snip .... ^^e^^r^^t^^s^^ ^^S^^a^^y^^.