[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Like()
Compares two strings using wildcards
Syntax:
Like( cMask, cString ) -> lEqual
cMask : One string may contain the wildcards * and ?
cString : The other string to compare
Description:
Compare two strings with wildcards to one position (?)
or wildcards to n positions (*).
The function is case sensitive.
Return:
A logic indicating if the strings are similar or not.
Example:
? Like ( "*A*", "Fast" ) // .F.
? Like ( "*a*", "Fast" ) // .T.
? Like ( "?ast", "Fast" ) // .T.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson