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 stretch() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FUNCTION STRETCH()

  Short:
  ------
  STRETCH() Imbeds characters in a string

  Returns:
  --------
  <cStretched> => string with characters imbedded

  Syntax:
  -------
  STRETCH(cSource,cFill,nEvery)

  Description:
  ------------
  Imbeds character <cFill> in string <cSource> every
  <nEvery> character

  Examples:
  ---------
   cString := "SUPERFUNCTION"

   cString := STRETCH(cString,' ',1)

   // (returns "S U P E R F U N C T I O N")

  Notes:
  -------
  This hombre might be called EXPAND in other parts

  Source:
  -------
  S_STRETC.PRG


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