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.
Dim intIde As Integer
Dim strDomain As String
'Get the position of the @
intIde = InStr(1, "MyEmail@MyDomain.com", "@")
'Strip out everything preceeding the @
strDomain = Right("MyEmail@MyDomain.com", Len("MyEmail@MyDomain.com") - intIde)
Function StripOutName(strName As String)
'=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
' This function will strip out Title, Forename & Surname
' Using a space as the delimiter
' e.g. Mr Joe Bloggs will be passed in as the strName variable
' The function will return the following:
' strTitle = "Mr"
' strForeName = "Joe"
' strSurname = "Bloggs"
'=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Dim strTitle, strForename, strSurname As String
'Get the Title
'=-=-=-=-=-=-=
Do Until Left(strName, 1) = " "
strTitle = strTitle & Left(strName, 1)
strName = Right(strName, Len(strName) - 1)
Loop
strName = Right(strName, Len(strName) - 1)
'Get the Forename
'=-=-=-=-=-=-=-=-
Do Until Left(strName, 1) = " "
strForename = strForename & Left(strName, 1)
strName = Right(strName, Len(strName) - 1)
Loop
strName = Right(strName, Len(strName) - 1)
'Whatever is left...it's the Surname
'=-=-=-=-=-=-=-=
strSurname = strName
MsgBox "Title: " & strTitle & " Forename: " & strForename & " Surname: " & strSurname
End Function