To get rid of the problem, you may try to use : as text which does the same thing than as string.
What Yvan said. But it doesn't do the same thing as "as string."
There may be a few applications that still work with as string, but you should change all your scripts to as text wherever you can.