RENAMER: move characters around

Started by juanjo, September 25, 2017, 11:45:18 AM

Previous topic - Next topic

juanjo

Hi,

Is it possible to rename files with the renamer tool moving characters around?. What I exactly want to is the following:

renaming files xxx1234ABxxx to xxxxAB1234xxx

The easiest way would be to substring the original file to grab "AB" and then again to substring the original file to grab "1234" but i can't substring the original file twice. Is there any other way to achieve the desired result?

ubacher

Why can't you use the substring twice?
I am using, for example:
{File.Name|substr:0,10} x{File.Name|substr:12,99}

juanjo

I wasn't using variables, just the substring shortcut. now I think it works. Thanks