Padding Space

Hi, I use CONCATENATE and TEXT functions to create text. How can I pad spaces to the left something like LeftPad(" ", Text(number_column), 14)? Thank you!

2X_e_ee63b0708c0cd43d3e097323e018d37ce27edd41.png

0 2 423
2 REPLIES 2

Steve
Platinum 4
Platinum 4

There is no LEFTPAD() function, but this will approximate it:

RIGHT(("              " & TEXT([number_column])), 14)

Note, though, that AppSheet uses proportional fonts (by default), so space padding probably wonโ€™t give you the alignment you appear to want. Instead, you might consider:

You may also want:

Thank you very much @Steve!

By the way, in the future (new feature), is it possible to have a column type of HTML in which we can put html contents?

Top Labels in this Space