How to repeat a string a specified number of times in the Anqi CMS template?
repeat
The filter can repeat a string by a specified number of times.
How to use
repeat
How to use filters:
{{obj|repeat:次数}}
For example, repeat安企CMS
For 5 times, it can be written like this:
{{"安企CMS"|repeat:5}}
# 显示结果
安企CMS安企CMS安企CMS安企CMS安企CMS
Sample Demo
{{"安企CMS"|repeat:5}}
# 显示结果
安企CMS安企CMS安企CMS安企CMS安企CMS