Having a DATE saved in a STRING variable, the function Substr is not assigning the correct value when one tries to extract the Year from the value.
When using the Function:
Substr('#Title_Date#', 1 , 4)
In the "Variable Value" input to asign a value to the valiable "Value_Year", and the value of #Title_Date# is the one returned returned from "Replace('2018_01_03', '_', '-')":
1. - For v3.8 it says: Variable "Value_Year" set to '2018'
2. - For v4.2 it says: Variable "Value_Year" set to '2014'