## String::PadRight method


Adds padding on the right of original string.

```cpp
String System::String::PadRight(int totalWidth, char_t c=u' ') const
```


| Parameter | Type | Description |
| --- | --- | --- |
| totalWidth | int | Number of padding characters to insert. |
| c | char_t | Padding character. |

### ReturnValue

[String](../) with padding inserted.

## See Also

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