When you want to access single chars, (myString.chars)[i] is the right way. For the whole char array, use _chr(myString).

STRING* str = "12345";

function main()
{
printf("%x",(str.chars)[2]);
}

should give you 33, which is the character "3" in hex.