Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Tom Rettigs Library - chrfound(<c string1>, <c string2>) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CHRFOUND(<C string1>, <C string2>)
 Evaluates whether <string2> contains all the characters in <string1>.
 Returns <expL> true if each character in <string1> occurs in <string2>.

 <string1> contains characters in any order for which to search.
 <string2> is the string in which to search for <string1> characters.

 Distinguishes between uppercase and lowercase alpha characters.

 CHRFOUND( "cAb", "AAABBaCdda" ) returns .F.
 CHRFOUND( "CaB", "AAABBaCdda" ) returns .T.
 CHRFOUND( "dddddd", "AAABBaCdda" ) returns .T.
 CHRFOUND( "b", "AAABBaCdda" ) returns .F.


             Placed in the Public Domain by Tom Rettig Assoc.

See Also: CHRCOUNT() CHRSWAP()

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