#1 : 22/06-19 12:34 David
Posts: 5
|
Hi all
I can't figure out how to do this: Original Name -> New Name eb_dn_5_24_2_qsd.wav -> eb_dn_5_48_qsd.wav eb_dn_5_24_3_qsd.wav -> eb_dn_5_72_qsd.wav that's to say, they are just 24x2 and 24x3 Is there a way to do this? Thanks in advance |
#2 : 24/06-19 08:00 David Lee
Posts: 1125
|
Try:
var a = item.newBasename.split("_"); return a[0] + "_" + a[1] + "_" + a[2] + "_" + a[3] * a[4] + "_" + a[5]; |
#3 : 24/06-19 08:38 David
Posts: 5
|
Reply to #2:
Thank you very much !! |