array subscript operator [] now handles strings too