SP String Functions

 SUBPLUS()      Returns multiple substrings
 STRPULL()      Extract text between 2 characters
 TAKEOUT()      Extract a portion of a string between delimiters at
                nth occurrance
 CRUNCH()       Moves spaces in a string to end of string
 ADDSPACE()     Pads right of string with spaces
 ARRANGE()      Rearranges text in a string
 CENTR()        Centers a string in x spaces
 _WILDCARD()    Wild Card String Compare
 ALLBUT()       Returns all but last x characters
 STRETCH()      Imbeds characters in a string
 LJUST()        Left justifies a string
 STARTSW()      Determines if a string starts with another string
 VAR2CHAR()     Converts any type variable to character type
 RJUST()        Right justifies a string
 PROPER()       Capitalizes first letters of string, lowers rest

SP_SUBPLUS

SUBPLUS()

  Short:
  ------
  SUBPLUS() Returns multiple substrings

  Returns:
  --------
  <cSubs> => new string from multiple substrings

  Syntax:
  -------
  SUBPLUS(cSource,<nStart1,nCount1>,...[nStart8,nCount8])

  Description:
  ------------
  Extracts from string <cSource> from position
  <nStart1> for <nCount1>

  characters, and repeats for sets
  [nStart2-nCount2...nStart8-nCount8]

  Examples:
  ---------
   cString := "PREFONTAINE"

   cGarble := SUBPLUS(cString,6,1,5,1,1,1,3,1)

   // garble  =  "NOPE"

  Source:
  -------
  S_SUBPLU.PRG