Brian Dunning's FileMaker Custom Functions

removeFirstAddPrefixSuffixToList ( theList ; prefix ; suffix )

Add a prefix and suffix to a list after removing the first word from the list

  Average rating: 4.8 (22 votes) Log in to vote

Kenneth Durrum   Kenneth Durrum - Show more from this author
Released Solutions
http://releasedsolutions.net

Share on Facebook Share on Twitter

  Sample input:
removeFirstAddPrefixSuffixToList ( ID123 test¶ID 123 test 2, 123 , "" )
  Sample output:
123 test
123 test2

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

This is an expanded version of AddPrefixSuffixToList. If you need to strip away and remove the first part of a list item and add a constant prefix or suffix to the list then this custom function is for you.

 

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 15 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:

Under construction. Email me your wish list for improvements.