Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
data = " 21"",""BOB D."",""StePHhens"",""SA052"",""CALL REAL ESTATE""," _
& """CALL01"",""(804)411-2222"" "
With New RegExp
.Global = True
.IgnoreCase = True
.Pattern = "\b(\w)(\w*?)\b"
WScript.echo .Replace(data, GetRef("ProperCase"))
.Pattern = "\b([a-z])([a-z]*?)\b"
WScript.echo .Replace(data, GetRef("ProperCase"))
End With
Function ProperCase(match, submatch1, submatch2, index, source)
ProperCase = UCase(submatch1) & LCase(submatch2)
End Function
Private Sub [!]MyText[/!]_AfterUpdate()
Dim strMyText As String
strMyText = Me.[!]MyText[/!].Value
strMyText = StrConv(strMyText, vbProperCase)
Me.[!]MyText[/!].Value = strMyText
End Sub