Error in Text-Formatter -> Truncate ?

Ulf

Member
When I select "End: True" in Text-Formatter-Truncate it still works from the beginning of the string. Is this correct? I am trying to isolate the file extension at the end of a URL, but it is still returning the first 4 characters...

See attached image

Thank you
Ulf
 

Attachments

  • PabblyTextFormatter-Error.jpg
    PabblyTextFormatter-Error.jpg
    139.6 KB · Views: 207

Neeraj

Administrator
Staff member
When I select "End: True" in Text-Formatter-Truncate it still works from the beginning of the string. Is this correct? I am trying to isolate the file extension at the end of a URL, but it is still returning the first 4 characters...

See attached image

Thank you
Ulf
Just an alternative that you can use to fetch 4 characters from the right using Spreadsheet Formulas.

1618190673619.png
 
  • Like
Reactions: Ulf
P

PabblyMember3

Guest
When I select "End: True" in Text-Formatter-Truncate it still works from the beginning of the string. Is this correct? I am trying to isolate the file extension at the end of a URL, but it is still returning the first 4 characters...

See attached image

Thank you
Ulf
Hello Ulf,

Just to inform you that, truncate string always reads your string from left to right and truncates the given string from the left to the given number of characters, you can pass the number of characters to skip along with the ending ellipsis text. eg: ... (3 dots)

We have updated the help text of the same. Please check the attached image
 

Attachments

  • Truncate.png
    Truncate.png
    69.5 KB · Views: 192
  • Like
Reactions: Ulf

Ulf

Member
Hello Ulf,

Just to inform you that, truncate string always reads your string from left to right and truncates the given string from the left to the given number of characters, you can pass the number of characters to skip along with the ending ellipsis text. eg: ... (3 dots)

We have updated the help text of the same. Please check the attached image
Ok, thanks for the clarification! To be picky, there's a typo in the new help text: "ture" should be "true" ;):cool:
 
Top