## String::Remove method


从当前字符串中提取除子串之外的所有内容。

```cpp
String System::String::Remove(int32_t startIndex, int32_t count=INT32_MAX) const
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| startIndex | int32_t | 不提取的第一个字符的索引。 |
| count | int32_t | 不提取的字符数量。 |

### ReturnValue

[String](../) around specified substring.

## 另见

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