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
Tag Archives: STARTSW()
SP_STARTSW
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