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

Proper Case In Place Function
String Words Class

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

Convert the argument rValue to its proper-case equivalent and also return the value.
The first character of each alphabetic word is converted to its upper-case equivalent and the remaining alphabetic characters are converted to their lower-case equivalent.

       Dim S As String
       S = "This is a TEST."
    for example
       ProperCaseInPlace(S) = "This Is A Test."
       S = "This Is A Test."
See also:
    ProperCase Function
    StrConv Function (Visual Basic 4+)
rValue: String containing the phrase which is to be converted to its proper-case equivalent.
Note: Function uses the built-in character classification routines to determine which characters are upper-case and lower-case.

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