Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3    Statistic  


Adds a prefix text to each entry in the list.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
List 6.1 Yes Yes Yes Yes Yes
MBS( "List.AddPrefix"; List; Prefix { ; NoReturnEnding } )   More


Parameter Description Example value
List The list to process. "Hello¶World"
Prefix The text to prepend. "!"
NoReturnEnding Optional
Pass 1 to have no extra newline character on the end of the returned list. Default is 0 to include one to easily concat lists.


Returns list or error.


Adds a prefix text to each entry in the list.


Add prefix to list:

MBS( "List.AddPrefix"; "Hello¶World"; "!")

See also

Blog Entries

Created 4th March 2016, last changed 12nd March 2016

List.AddPostfix   -   List.AddValue

Feedback: Report problem or ask question.

MBS FileMaker tutorial videos