http://www.site.com/index.html
https://www.site.com
www.site.com/
ftp://www.site.com

how can you msgbox the www.site.com and add a slash at the end if a slash doesnt exist (if its just a domain), and msgbox the whole string (without the http://) if its not just a domain? so for each one, it would msgbox www.site.com/, excpet for the first one, where it would msgbox www.site.com/index.html

more examples:
anyone know?