I suggest reviewing the many text functions listed in FileMaker help. Position and middle are two that come to mind. If you have FileMaker Advanced, you might wbe search to find and visit some of the sites that list custom functions. There's one called "Parse" that many use.
Thank you Phil