Content


NTL
Core
PadRight

PadRight


Extend unicode or ANSI string to specified length adding specified character at the string ending as many time as needed. Return new string. Original string remains unmodified.

String PadRight(const String &str, const wchar_t c, const size_t length);
AnsiString PadRight(const AnsiString &str, const char c, const size_t length);
Namespace: nitisa
Include: Nitisa/Core/Strings.h