|
-
May 19th, 2002, 06:58 PM
#1
Thread Starter
Fanatic Member
Please help - string manipulation (easy)
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|