Extend unicode or ANSI string to specified length adding specified character at the string beginning as many time as needed. Return new string. Original string remains unmodified.
String PadLeft(const String &str, const wchar_t c, const size_t length);
AnsiString PadLeft(const AnsiString &str, const char c, const size_t length);
Namespace: | nitisa |
Include: | Nitisa/Core/Strings.h |