ISPART() Determines if a value is part of a set CURD() Return current drive letter SBROWS() Determine number of rows in a box ISPRN() Detects printer ready (or not) on LPT1, 2 or 3 SBCENTER() Centers box coordinates SBCOLS() Determine number of columns in a box EVALQ() Evaluates a logical condition in a string ENDSWITH() Determines if a string ends with another string PRNTFRML() Prints a formletter created by formletr() CDIR() Change Directory VARLEN() Returns length of a variable of any type
Tag Archives: ENDSWITH()
SP_ENDSWITH
ENDSWITH() Short: ------ ENDSWITH() Determines if a string ends with another string Returns: -------- <lEndsWith> => True or False, string 2 ends with string 1 Syntax: ------- ENDSWITH(cTarget,cEndsWith) Description: ------------ Determines if string 1 <cTarget> ends with string 2 <cEndsWith> Examples: --------- cStr1 = "SUPERFUNCTION" cStr2 = "FUNCTION" cStr3 = "FUNKY" ENDSWITH(cStr1,cStr2) //returns .t. ENDSWITH(cStr1,cStr3) //returns .f. Source: ------- S_ENDSW.PRG