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


Syntax:        L_CHRFOUND(<expC1>,<expC2>)


Purpose:       To check if all the characters in a string are
               contained within a second string in any order.


Arguments:     <expC1> is the string of characters for which the
               search is being made.

               <expC2> is the string within which the search is being
               made.


Returns:       A logical (.T.) is returned if all characters are found
               a logical (.F). if any character is not found.


Usage:         To check for the occurrence of a number of characters
               within a string.


Examples:      ? L_CHRFOUND("ab","bad")          && Returns: .T.
               ? L_CHRFOUND("bd","bad")          && Returns: .T.
               ? L_CHRFOUND("bc","bad")          && Returns: .F.


Notes:          The search operation is case sensitive.


Language:      C

See Also: L_ATTIMES() L_CHRCOUNT() L_ATNEXT()

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