PadChr0 - Pad a string with Chr(0) characters |
Top Previous Next |
Syntax
<cRetString> := PadChr0( <cString>, <nPaddedSize> )
Parameters
<cString>
String to be padded with trailing 0-bytes.
<nPaddedSize>
Requested size for <cRetString>.
Return value
A string of the length <nPaddedSize>. If <cString> is shorter than <nPaddesSize> it is padded up to <nPaddedSize> with trailing Chr(0)s. If <cString> is longer, it is truncated to a length of <nPaddedSize>.
Description
PadChr0 pads a given string with trailing Chr(0) characters up to a given length.
Classification
Core
Category
Quick Info
Library: cckptcor.lib / cckptcor.dll
See also
Example
|