Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Fast Library For Clipper 3.02 Reference - <b>like()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    Like()

         Compares two strings intervening wildcars

    Syntax:

         Like( cMask, cString ) -> lEqual

         cMask   : One string may conten the wildcars * and ?
         cString : The other string to compare

    Description:

         Allows to compare two strings with wildcars to one position (?)
         or wildcars to n positions (*).
         The function is case sensitive.

    Return:

         A logic indicating if the strings are similars or not.

    Example:

         ? Like ( "*A*",  "Fast" )          // .F.
         ? Like ( "*a*",  "Fast" )          // .T.
         ? Like ( "?ast", "Fast" )          // .T.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson