Replacing fonts with PNG files for custom scores

Hi guys,

I found this:

But the only thing I can’t get to work is this part:

myArray[int.Parse(myStringScore *) ]*

What’s the correct syntax for JS? I tried brute forcing it but it seemed I cannot access the string[0] with an “if(mystring[0] == 1)” comment or similar.
If there is an even simpler way to replace using fonts with images, I’d be eternally grateful. I want some nice multicoloured numbers for my score.

“if(mystring[0] == 1)”
would be
“if(mystring[0] == “1”)”