How to insert spaces in a string

Hey Makers!

I’m struggling and need some help. I need to manipulate a string and I am not sure how to do it.

I have a string that is composed of 6 digits. Example: 123456

I need to modify this string to insert a space between each digit. Example 1 2 3 4 5 6 7 8

How do I do this?

You can use the replace built-in function:

Screenshot_2023-12-12_101254

{{ replace(123456; emptystring; space) }}

If you want to learn more about Make, you can read up in the Help Center. I also recommend doing the tutorials in the Make Academy, and learn advanced skills like how to make custom apps to any API in the Make Partner Training Portal - both have certificates for successful completion.

3 Likes