I have a measure that returns a version value (extracted from a filename, C:\MyPath\ReadMe Rev01.doc), but I want the meter to display the value, 'Rev01' or 'None' fixed text if the version is blank
To do this, I thought I'd use a string measure to process the value obtained, with a RegEx substitute ("^$":"none") but I can't get even the basic string to work.
My measureVersion is either blank or the version text, Rev01, and I can display that in a meter
If I set the meter to display measureVersion it works, but if I set it to display measureVersionOrNone it is always blank.
If I use String=A[measureVersion]A the meter displays AA
If you are going to use that [MeasureVersionOrNone] String measure, then you will need DynamicVariables=1 on it to use the [SectionVariable] as the string value.
However, you don't really need that measure in my view...
However, it is now working the way you said. When you refresh, it puts up 'None' immediately, then updates it to the correct value if the file is found.
Thanks