How can I get the Length of a string please?

Hi
As you can see in the pic
I’m using Cloudinary to display user’s first name of the mug.
Ly-Mei is my first name.

It would be cool to adjust the font size to the max height.
For short first names.

Is there something like a Length(String) I can use?
I didn’t see anywhere in Cloudinary how to “fit” a text horizontally AND vertically.
Only fixed font size. Or exact pixels.

But if I can compute a string length, I can conditionally change the font size.

Thks :slight_smile:

image

1 Like

You’re Beautiful.
Solved!
Thks.
I’ll have a closer look to the other plugins.
I forgot :grin:

1 Like

Yeah, the plugins were a bit of a game changer. So many things we used to struggle to do in the data editor are trivial to do now :slight_smile:

2 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.