Dollar symbol in string resources

Hi,

I am able to work with resources and use Rez.Strings.<id> to access strings. But I have found a strange behavior that if the resource contains $ (dollar symbol), the Rez.Strings.<id> returns Number instead of string. For example:

<strings>
<string id="Abc">Abc$1$</string>
</strings>


...and:

var x = Rez.Strings.Abc;

x is now Number of 6129 or something like that.
Do you guys know about some nice workaround?

Thanks,
David
  • Ui.loadResource

    ...ok I should read the doc better. I was feeling like on drugs on something absolutely not understanding what is going on. The trick is to use Ui.loadResource(Rez...) to get access to the real string. My problem had nothing to do with $ symbol in the resource.