Brian Dunning's FileMaker Custom Functions

isUUID ( uuidString )

Test if input string is a uuid

  Average rating: 1.0 (1 vote) Log in to vote

Jonni™   Jonni™ - Show more from this author

Share on Facebook Share on Twitter

  Sample input:
isUUID ( "EC3C6323-3079-4937-A873-4448CF075150" )
  Sample output:
1

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

Test if input string is a uuid. Returns 1 if True and 0 if False.

 

Comments

Mike   Mike
Aug 16, 2024
This function equals 1, even if an invalid character was entered. Example: If "uuidString" contains the letter "m", the result is still 1. "m" is not allowed in UUIDs.

There is already a function that takes care of this: https://www.briandunning.com/cf/1684
 
Jonni™   Jonni™
Sep 24, 2024
Thanks Mike. I didn't know about the disdain for the letter M nor had I been able to find the other function. Appreciate the feedback and the link.
 

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: