Trim Message Text

Hello Readers,

I have a messaging app where the user can enter a long message. I want to send the receiver a “preview” of that message on their email or phone.

Is it possible for me to trim the long message to say 10-15 characters or so?

I tried:

Creating a new input variable with max length of 10 and storing the value of actual message in there but when I saved it to a collection, the full message was saved.

Thanks.

C

There is no function for that as far as I can tell…

I fixed this by trimming the message the the make/intrgromat that were delivering the notifications.

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