How to output a string repeatedly in the Anqi CMS template according to the specified number of times?
repeat
The filter can repeat a string by a specified number of times.
How to use
repeat
How to use filters:
{{obj|repeat: times}}
For example, repeat安企CMS
5 times, you can write this:
{{"Anqi CMS"|repeat:5}} # Display results Anqi CMSAnqi CMSAnqi CMSAnqi CMSAnqi CMSAnqi CMSAnqi CMS
Sample Demo
{{"Anqi CMS"|repeat:5}} # Display results Anqi CMSAnqi CMSAnqi CMSAnqi CMSAnqi CMSAnqi CMSAnqi CMS