Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTString::PadLeft

Syntax

void PadLeft(const NINT newlength, const char padChar= ' ')

Parameters

  • newlength [in] The length of the padded string. If newlength is less than this CTString, no padding is performed.
  • padChar [in] The character used to pad the string. By default, ' ' is used.

Description

Pads this CTString to the left with padChar characters until the length of this CTString is equal to newlength.

Return

None.

See also

PadRight()

TOCIndex