<-- Previous || Up || Next -->

In Str Not Characters Reverse Function
String Searches Class

Public Function InStrNotCharactersReverse( _
      ByVal vStartPos As Variant _
    , ByVal vLine As Variant _
    , ByVal vFindChars As Variant _
    , Optional ByVal vCompare As Variant _
    ) As Variant

"In String Not Characters Reverse"
Return the position of the last character in vLine that is NOT in vFindChars.

Examples:
    InStrNotCharactersReverse(Null, "321CBACBA", "123") = 9
    InStrNotCharactersReverse(6, "321CBACBA", "ABC") = 3
See also:
    InStrNotCharacters Function
    InStrCharactersReverse Function
vLine: The string which is to be searched from right-to-left for characters that do not appear in string vFindChars. Function returns Null if vLine is Null or cannot be fixed up to a String.

vFindChars: String containing characters whose appearance within string vLine is to be ignored. Function returns Null if vFindChars is Null or cannot be fixed up to a String.

vStartPos: The character position in string vLine where the search is to begin. vStartPos defaults to the position of the last character in string vLine (the length of the line) if it is Null or cannot be fixed up to a number.

vCompare: Specifies the type of comparison used to find matching characters present in both strings. vCompare defaults to Binary comparisons if it is missing or Null or cannot be fixed up to a number.

Function returns 0 (zero) if all of the characters within vLine also appear within vFindChars.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.