📅  最后修改于: 2022-03-11 14:51:53.440000             🧑  作者: Mango
Dim sText As String
sText = "Run, forrest run"
MsgBox StrConv(sText, vbProperCase) ' Run, Forrest Run
MsgBox StrConv(sText, vbLowerCase) ' run, forrest run
MsgBox StrConv(sText, vbUpperCase) ' RUN, FORREST RUN
MsgBox UCase(sText) ' RUN, FORREST RUN