Greg O'Connor Posted July 19, 2007 Posted July 19, 2007 Hi all. Is there a calculation which is will extract from a URL such as: http://www.mydomain.com/folder1/folder2/page.html the domain only? The result should be like this: http://www.mydomain.com/ I have been searching and trying out some calculations, but unsuccessful. Any help would be great. Greetings Greg
comment Posted July 19, 2007 Posted July 19, 2007 This came up barely a week ago: http://www.fmforums.com/forum/showtopic.php?tid/188417/
Greg O'Connor Posted July 19, 2007 Author Posted July 19, 2007 Thanks a lot: Let ( text = MyURL & "/" ; Left ( text ; Position ( text ; "/" ; 1 ; 3 ) - 1 ) ) This works fine for me and does the job! Greetings Greg
Recommended Posts
This topic is 6398 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now