do the Ext.isString check before we call charAt