Author Topic: Variable postfix works not more correct (prefix does work correct)  (Read 92 times)

sinus

  • Global Moderator
  • *****
  • Posts: 3637
  • IMatch-User since 2001 (IMatch 3.6)
Hi
Please can someone test this variables:

{File.Name|substr:6,2;prefix:before: }
{File.Name|substr:6,2;postfix:after: }


While prefix works correct, postfix works not, there is simply nothing after the Filename.

I use this in D&P and in the file window, but I tested it also in VarToy.

Would be nice, if someone could check this.
Best wishes from Switzerland! :-)
Markus

Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 22591
Re: Variable postfix works not more correct (prefix does work correct)
« Reply #1 on: August 13, 2019, 09:42:10 PM »
Maybe related to the changes made because of your bug report:

https://www.photools.com/community/index.php?topic=9102.msg64029#msg64029

sinus

  • Global Moderator
  • *****
  • Posts: 3637
  • IMatch-User since 2001 (IMatch 3.6)
Re: Variable postfix works not more correct (prefix does work correct)
« Reply #2 on: August 13, 2019, 09:57:05 PM »
Oh, forgot this.

Yes, could be.

But curious, because I have written there, that it is again ok.

Hm, not that bad, because at least prefix works still.  :D
Best wishes from Switzerland! :-)
Markus

Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 22591
Re: Variable postfix works not more correct (prefix does work correct)
« Reply #3 on: August 14, 2019, 10:08:02 AM »
I have fixed this again for the next release.

sinus

  • Global Moderator
  • *****
  • Posts: 3637
  • IMatch-User since 2001 (IMatch 3.6)
Re: Variable postfix works not more correct (prefix does work correct)
« Reply #4 on: August 14, 2019, 10:59:26 AM »
I have fixed this again for the next release.

Oh, thanks a lot, Mario, really!

Thanks your super-support I must not change all my variables.  ;D :D
Best wishes from Switzerland! :-)
Markus