[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FUNCTION STARTSW()

  Short:
  ------
  STARTSW() Determines if a string starts with another string

  Returns:
  --------
  <lStartsWith> => String 1 starts with string 2

  Syntax:
  -------
  STARTSW(cTarget,cStarts)

  Description:
  ------------
  Determines if string 1 <cTarget> starts with string 2
  <cStarts>

  Examples:
  ---------
   cStr1    := "SUPERFUNCTION"

   cStr2    := "SUPER"

   cStr3    := "SOUP"

   STARTSW(cStr1,cStr2)    //returns .t.

   STARTSW(cStr1,cStr3)    //returns .f.

  Source:
  -------
  S_STARTS.PRG


This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson