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

First Non Lower Case Forward Function
String Searches Class

Public Function FirstNonLowerCaseForward( _
    ByVal vLine As Variant _
    ) As Variant

Return the string vLine starting with the first non-lower-case character.
Skips all of the characters in vLine up to the first non-lower-case character.
Uses the Visual Basic UCase$() function and not the built-in character classification routines.

    FirstNonLowerCaseForward("abcSAMPLE") = "SAMPLE"
    FirstNonLowerCaseForward("abc123") = "123"
See also:
    FirstLowerCaseForward Function
    FirstNonUpperCaseForward Function
vLine: The string whose leading lower-case characters are to be skipped. Function returns Null if vLine is Null or cannot be fixed up to a String.

Function returns an empty string if vLine contains only lower-case characters.

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