
Click above to get retro games delivered to your door ever month!
X-Hacker.org- SuperLib 3.50 - function endswith()
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
FUNCTION 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
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson