Function String Searches Class

FirstLowerCaseForward

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

Signature (Visual Basic / VBA)

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

Code Example

    FirstLowerCaseForward("ABCsample") = "sample"
    FirstLowerCaseForward("ABC123") = ""

Parameters

Parameter Description
vLine The string whose leading non-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 does not contain any lower-case characters.