[] operator not supported for strings