PadLeft()

String::PadLeft(int, char_t) const method

Adds padding on the left of original string.

String System::String::PadLeft(int totalWidth, char_t c=u' ') const

Arguments

ParameterTypeDescription
totalWidthintNumber of padding characters to insert.
cchar_tPadding character.

Return Value

String with padding inserted.

See Also