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

First Upper Case Forward Function
String Searches Class

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

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

    FirstUpperCaseForward("abcSAMPLE") = "SAMPLE"
    FirstUpperCaseForward("abc123") = ""
See also:
    FirstNonUpperCaseForward Function
    FirstLowerCaseForward Function
vLine: The string whose leading non-upper-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 does not contain any upper-case characters.

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