## String::operator[] method


获取指定位置的字符。

```cpp
char_t System::String::operator[](int index) const
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 索引 | int | 获取字符的索引。 |

### ReturnValue

指定位置的字符，若超出范围则返回 0xffff。

## 另见

* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
