Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATString::Pad
void CATString::Pad ( CATUInt32  length,
CATWChar  theChar = (CATWChar)0x20 
)

Pad() pads the string with the specified char to be a certain length.

If the string is already longer, then it leaves it alone.

Parameters:
length - desired minimum length to pad to.
theChar - pad char, space by default.

Definition at line 1617 of file CATString.cpp.

References GetUnicodeBuffer(), Length(), and ReleaseBuffer().


Generated on Mon Feb 11 04:11:04 2008 for Game Accessibility Suite by doxygen 1.5.4