Jump to content
Sign in to follow this  
Greg O'Connor

Extracting URL's

Recommended Posts

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

Share this post


Link to post
Share on other sites

This came up barely a week ago:

http://www.fmforums.com/forum/showtopic.php?tid/188417/

Share this post


Link to post
Share on other sites

Thanks a lot:

Let (

text = MyURL & "/"

;

Left ( text ; Position ( text ; "/" ; 1 ; 3 ) - 1 )

)

This works fine for me and does the job!

Greetings

Greg

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.