Brian Dunning's FileMaker Custom Functions

AddPrefixSuffixToList ( theList ; prefix ; suffix )

add a prefix or suffix to each line in a list

  Average rating: 4.3 (32 votes) Log in to vote

Andy Knasinski   Andy Knasinski - Show more from this author
nrg software, llc.
http://www.nrgsoft.com

Share on Facebook Share on Twitter

  Sample input:
AddPrefixSuffixToList ( "value1¶value2" ; "[value]" ; "[/value]" )
  Sample output:
[value]value1[/value]
[value]value2[/value]

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

Quickly add a prefix or suffix to each line in a list. Useful for coercing related values to XML

 

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: