Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- SuperLib 3.50 - function addspace() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FUNCTION ADDSPACE()

  Short:
  ------
  ADDSPACE() Pads right of string with spaces

  Returns:
  --------
  <cPaddedString> => String padded with spaces.

  Syntax:
  -------
  ADDSPACE(cInString,nPadSpaces)

  Description:
  ------------
  Pads right side of <cInString> with <nPadSpaces> spaces.

  Truncates string if <nPadSpaces> is shorter than
  original string length.

  Examples:
  ---------
   ADDSPACE("GARRY",10)     // => "GARRY           "

  Notes:
  -------
  For compatibility. In Clipper 5.x , the function
  PADR() does the same thing.

  Source:
  -------
  S_ADDSP.PRG


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson