7,763
社区成员
发帖
与我相关
我的任务
分享
Dim s As String
s = "指定fgh指定字"
s = Mid(s, 1, InStr(s, "fgh") - 1) + Mid(s, InStr(s, "fgh") + 3, Len(s))
Dim S As String, Position As Long
S = "指定fgh+指定字"
Position = InStr(1, S, "+") '先确定"+"的位置
S = Left(S, Position - 4) & Right(S, Len(S) - Position + 1)
Debug.Print S