Can someone explain to me how to use the :truncated to?

I literally can’t find anywhere that explains how to use this. The Reference explains what it’s used for but not how to use it. Help?

:truncated to x takes the first x characters from the left.

image

:truncated to from end to x takes the first x characters from the right.

image

3 Likes

I have an avatar that shows a User’s first name’s first letter with this dynamic text:

image

3 Likes

Thank you. Very helpful.

I need to strip the first 3 characters of a string, yet there appears to be no way to do it aside from regex. A :truncate from start to would surely be helpful.

Or am I missing something?

This topic was automatically closed after 70 days. New replies are no longer allowed.