Following the discussion we had in this thread, I wanted to re-introduce the Custom Script Converter.
Although the help center article gives some examples about how to use it, let’s all share in this thread your tips & tricks where this converter made your life easier.
I’ll start with the one that enables to trim a text on both hands, based on a fixed number of starting & ending characters to remove.
The script below removes the first 10 characters and the last 3 ones. Adapt the figures to your own needs.
var t = INPUT.substring(10); var t2 = t.substring(0, t.length - 3) t2
So, what’s your favorite usage of that converter?
PS : don’t forget to check the samples in the help center articles: