Skip to main content
Question

formatter truncate length minus 5

  • April 29, 2024
  • 1 reply
  • 69 views

I’m using formatter to find the length of a file name, which is correctly outputting 20 in this case.

I’m then trying to truncate the file name using text formatter with the syntax Output-5, but the result is always empty. If I just type 15 it works well, but that will not work for all file names.

Any ideas how I can get the truncate function to use the length output less a specified number?

 

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • April 30, 2024

Hi @swm 

Try adding this Zap action: Formatter > Match > Perform Math Operation (Subtract)