Brian Dunning's FileMaker Custom Functions

TLD ( text )

This is a Top-Level Domain (TLD) Extractor that captures the TLD from a URL with the assumption that the URL is valid.

  Average rating: 3.5 (2 votes) Log in to vote

Robert Jackson   Robert Jackson
RJPlus Consulting
https://twitter.com/robertjackson

Share on Facebook Share on Twitter

  Sample input:
TLD
(
"http://www.bbc.co.uk/sport/football/teams/aberdeen"
)
  Sample output:
bbc.co.uk

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

This is a Top-Level Domain (TLD) Extractor that captures the TLD from a URL with the assumption that the URL is valid.

 

Comments

Philip McGeehan   Philip McGeehan, SMD Ltd
Jul 13, 2020
Doesn't work for "http://bbc.co.uk/sport/football/teams/aberdeen"
 

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: