System::String::PadLeft method

String::PadLeft method

Adds padding on the left of original string.

String System::String::PadLeft(int totalWidth, char_t c=u' ') const
ParameterTypeDescription
totalWidthintNumber of padding characters to insert.
cchar_tPadding character.

ReturnValue

String with padding inserted.

See Also