## String::Remove method


Extracts everything but substring from current string.

```cpp
String System::String::Remove(int32_t startIndex, int32_t count=INT32_MAX) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| startIndex | int32_t | [Index](../../index/) of first character to not extract. |
| count | int32_t | Number of characters to not extract. |

### ReturnValue

[String](../) around specified substring.

## See Also

* Class [String](../)
* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
