Public Function IntersectCharacters( _ ByVal vStringOne As Variant _ , ByVal vStringTwo As Variant _ ) As Variant
IntersectCharacters("ABBCCCDDDD", "FFEEDDCC") = "CD" IntersectCharacters("ABCABC", "123") = ""See also:
DifferenceCharacters FunctionvStringOne: First of the two string from which the unique common characters will be copied into the result string. Function returns Null if vStringOne is Null or cannot be fixed up to a String.
vStringTwo: Second of the two string from which the unique common characters will be copied into the result string. Function returns Null if vStringTwo is Null or cannot be fixed up to a String.
Note: Function uses the ASCII value of characters to determine if they match, which is in effect the same as using Binary comparisons.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.