Nov 20, 2006 #1 Sidro MIS Joined Sep 28, 2002 Messages 197 Location US hi folks, I have a URL that looks like this. "MikesPlace.Mysite.com" The problem Im having is extracting "MikesPlace" from the URL. Has anyone done this before? Can you provide an example? Thanks in advance.
hi folks, I have a URL that looks like this. "MikesPlace.Mysite.com" The problem Im having is extracting "MikesPlace" from the URL. Has anyone done this before? Can you provide an example? Thanks in advance.
Nov 20, 2006 #2 ca8msm Programmer Joined May 9, 2002 Messages 11,327 Location GB Just use the Split command and take the first item i.e. Code: myString.Split(".")(0) ____________________________________________________________ Need help finding an answer? Try the Search Facility or read FAQ222-2244 on how to get better results. Upvote 0 Downvote
Just use the Split command and take the first item i.e. Code: myString.Split(".")(0) ____________________________________________________________ Need help finding an answer? Try the Search Facility or read FAQ222-2244 on how to get better results.