Today I'm excited to share "fm.swift," a Swift class that provides functions that are similar to FileMaker functions.
fm.swift includes functions for many commonly used FileMaker text functions, including Length, LeftWords, MiddleWords, RightWords, Left, Middle, Right, Lower, Upper, Proper, and more. There are 14 functions in all, and I'm planning to add more functions in the future.
To use the class, simply include it in a Swift project, then call the functions by prefixing the function names with "fm." For example, you'd call the Length function like this: fm.Length("Hello, world.") Included below are examples of how to call the other functions.