photools.com Community

IMatch Discussion Boards => General Discussion and Questions => Topic started by: juanjo on September 25, 2017, 11:45:18 AM

Title: RENAMER: move characters around
Post by: juanjo on September 25, 2017, 11:45:18 AM
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?
Title: Re: RENAMER: move characters around
Post by: ubacher on September 25, 2017, 11:57:07 AM
Why can't you use the substring twice?
I am using, for example:
{File.Name|substr:0,10} x{File.Name|substr:12,99}
Title: Re: RENAMER: move characters around
Post by: juanjo on September 25, 2017, 12:09:21 PM
I wasn't using variables, just the substring shortcut. now I think it works. Thanks