Well to get BACK ON TOPIC

Are you all set then DAN?

Plenty of ways to get the data. The NoVarInStrings the other guys speak of is a directive for the KiX engine to know how to operate with variables inside of strings.

You can look it up in the manual for further information. Generally it is an accepted practice to use it, and is required for posted UDFs.

SETOPTION ("option","value")

Example:
$SO=SetOption('NoVarsInStrings','On')