Function String Searches Class

FirstNonLowerCaseForward

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.

Signature (Visual Basic / VBA)

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

Code Example

    FirstNonLowerCaseForward("abcSAMPLE") = "SAMPLE"
    FirstNonLowerCaseForward("abc123") = "123"

Parameters

Parameter Description
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.