How do i get a specific number of characters from text

Text = abcdefg1hijklm

how do I get the first 5 charcters for example
and how do I get all the characters before character β€œ1” in that text

Thanks :slight_smile:

Hi there, @Sakura… to get the first 5 characters of the string, you can use the :truncated to operator, and type 5 after the operator. To get all of the characters before the 1 (assuming that character is always a 1), you can use the :split by operator to split by a 1, and then get the :first item in the split.

Hope this helps.



Thanks A lot :smiley:

1 Like

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