April 3, 201510 yr How would I extract text from this text block in a FileMaker field: Billing Information ---------------------- First Name : Jacky Last Name : Taylor Address : 178 Gazellenkamp City : Stellmar State/Province : MO1 Zip/Postal Code : 7783 Country : US Email :[email protected] As a result I would like to have the: First name in a separate field, Last name in a separate field, email in a separate field, etc I have trie with 'Position', 'MiddleWords' etc, but cannot get it working. Thanks for any help.
April 3, 201510 yr Here's how you can extract the last name = Let ( [ prefix = "Last Name : " ; start = Position ( Yourfield ; prefix ; 1 ; 1 ) + Length ( prefix ) ; end = Position ( Yourfield ; ¶ ; start ; 1 ) ] ; Middle ( Yourfield ; start ; end - start ) ) For other fields, just change the prefix variable accordingly.
Create an account or sign in to comment