Question

formatter truncate length minus 5

  • 29 April 2024
  • 1 reply
  • 7 views

Userlevel 1

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?

 


1 reply

Userlevel 7
Badge +14

Hi @swm 

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

Reply