Brian Dunning's FileMaker Custom Functions

MimeType ( medialocation ; default )

Return Mime Type for media

  Average rating: 2.6 (216 votes) Log in to vote

Roger Biel   Roger Biel
2Geckos Consulting, LLC
www.2geckos.com

Share on Facebook Share on Twitter

  Sample input:
MimeType( L107::Graphic ; "TXT" )
  Sample output:
image/jpeg

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

Determines the standard Mime type of most file extensions.
Default will be used in not mime type is found.

medialocation may be a container or pathname

 

Comments

Austin Burbridge   Austin Burbridge, Los Angeles
May 2, 2012
This wants the <trim4> function
 
Roger Biel   Roger Biel, Casa Grande, Arizona
May 2, 2012
You can substitute the TrimAll( text ; 1;2)
 

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.

Under construction. Email me your wish list for improvements.