That's not a table, that's a string. You can't index strings like that, use Stringub(1,1) etc.
Before you say it, yes it worked before, but that was only due to the string type using the GMod Lua indexing rules rather than pure Lua's. It was never documented so should never have been assumed usable (and the dev log mentioned the change a few days ago).