PadString
PadString (str, finalLength, padValue)
The PadString function returns a string identical to str except that it has been extended to a total length of finalLength using bytes of padValue. Use zero to create a C-language style string or use 0x20 to pad with spaces (FORTRAN style). This is useful when reading or writing binary files using FBinRead and FBinWrite.