With CreateObject("VbScript.Regexp") .Pattern = "[A-Z]" .Global = True MsgBox .Execute("AAAAAAA bbbbb cccc dddd").Count End With
ch = "AAAbcde" res = ch For i = 1 To Len(ch) If Mid(ch, i, 1) <> UCase(Mid(ch, i, 1)) Then Exit For Next MsgBox Left(ch, i - 1) & vbCrLf & Mid(ch, i)
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question