Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - xpadl() left fills a string up to a certain pixel dimension http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 xPadL()                Left fills a string up to a certain pixel dimension
--------------------------------------------------------------------------------

   Syntax:              xPadL( <cText>, <nPixels> [,<cChar>] )
                                --> <cNewText>

   Parameters:

   <cText>             The text whose character length is to be
                       adjusted.

   <nPixels>           The total length in pixels.

   <cChar>             An optional character to use to fill
                       by the left side the <cText> string.
   Returns:

   <cNewText>          A new string whose left side has been
                       added with extra <cChar> characters to reach
                       the <nPixels> size.

   Sample:             SOURCE\\CLASSES\\WBrowse.prg

   Source code:        SOURCE\\FUNCTION\\xPad.prg

   See also:           xPadC()  xPadR()


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