Function Character Types Class

LCaseInPlace

"Lower Case In Place" Convert the string argument rValue to lower-case and also return that value.

Signature (Visual Basic / VBA)

Public Function LCaseInPlace( _
    ByRef rValue As Variant _
    ) As Variant

Code Example

    Assuming
       Dim S As String
       S = "THIS is a SAMPLE."
    for example
       LCaseInPlace(S) = "this is a sample."
    leaves
       S = "this is a sample."

Parameters

Parameter Description
rValue String argument which is converted to its lower-case equivalent. Function also returns the lower-case value of rValue.

Notes & Version History

Note Function only works for characters in the ANSI Windows character set because it uses the built-in Visual Basic LCase() function.