Isn’t there a built-in string function that returns a given character n times?
Kind regards,
Steven Lecluyse
Isn’t there a built-in string function that returns a given character n times?
Kind regards,
Steven Lecluyse
To do this, you can use the built-in function:
substring(text; start; end)
The function may have also been covered in the Make Academy tutorials — refer to the Make Academy Course Overview for more info.
Here’s an example of how you can use the function:
{{ substring(text; start; end) }}
e.g.:
{{ substring("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"; 0; 10) }}
(copy-paste the above into the field, or type it exactly as shown)
Hope this helps! Let me know if there are any further questions or issues.
— @samliew