...
> This previously worked but now it will only work if I put some sort of
> expression in the string (ie a % at the end)...
I am guessing that you have some blanks or other characters at the end
of the string. Simple test cases here do not show a problem.
- Thomas