Brian Dunning's FileMaker Custom Functions

Convert_Text_to_Base64 ( string )

Converts a FileMaker text string to a Base64 string.

  Average rating: 4.2 (33 votes) Log in to vote

Mogens Brun   Mogens Brun
fmIntegrator ApS
http://fmIntegrator.com

Share on Facebook Share on Twitter

  Sample input:
Convert_Text_to_Base64 ( "Man" )
Convert_Text_to_Base64 ( Convert_Text_to_UTF8 ( "Mænd med idéer" ) )
  Sample output:
TWFu
TcOmbmQgbWVkIGlkw6llcg==

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

Converts a FileMaker text string to a Base64 string. May be used together with "Convert_Text_to_UTF8" to ensure char values less than 256 in input string - as "Convert_Text_to_Base64 ( Convert_Text_to_UTF8 ( string ) )". The combined action of the two custom functions performs with double speed as "AscIIToBase64" (also briandunning.com) and handles all legal char. values in UTF-8.

 

Comments

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: