Brian Dunning's FileMaker Custom Functions

ReadINI ( iniCode ; keyName )

gets a value from a block of text structured like an INI file

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

Joe Rovang   Joe Rovang - Show more from this author

Share on Facebook Share on Twitter

  Sample input:
ReadINI ( "function=ReadINI¶author=Joe Rovang"; "author" )
  Sample output:
Joe Rovang

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

This function looks up a value from a block of text that's been structured like an INI file. This text can include section headers, such that your search can be limited to a section of your choosing. The text can also include INI-style comments (which will be ignored).

See comments in function expression for detailed usage notes. For more about INI files, see Wikipedia: http://en.wikipedia.org/wiki/INI_file

 

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: