## Match::Result method


Formats string by replacing submatch references with their values.

```cpp
virtual String System::Text::RegularExpressions::Match::Result(const String &replacement)
```


| Parameter | Type | Description |
| --- | --- | --- |
| replacement | const String\& | Format string with '$?'-styled substitutions. |

### ReturnValue

Format string with substitutions done.

## See Also

* Class [String](../../../system/string/)
* Class [Match](../)
* Namespace [System::Text::RegularExpressions](../../)
* Library [Aspose.PUB for C++](../../../)
