Partial String Comparison

J

jdberman

Hello. I have a field in a form that I want to check whether it is a
hyperlink or not. I was thinking I could just check if the string
contained "http://" or "https://", but I could not find a way to see
if a partial string is contained within a string. I have been
searching around and am surprised that VBA does not have such
functionality built in. Does anyone have any suggestions?
 
R

Roger Carlson

Hello. I have a field in a form that I want to check whether it is a
hyperlink or not. I was thinking I could just check if the string
contained "http://" or "https://", but I could not find a way to see
if a partial string is contained within a string. I have been
searching around and am surprised that VBA does not have such
functionality built in. Does anyone have any suggestions?
 
Top