[<<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.

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson