Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sub VBAStringManipulation()
Dim Str1 As String
Str1 = "TomCruise@gmail.com"
Debug.Print InStr(1, Str1, "i")
Debug.Print InStrRev(Str1, "i")
Debug.Print Mid(Str1, 17, 3)
Debug.Print StrReverse(Str1)
Debug.Print Len(Str1)
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment