Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
List.AddPrefix
Adds a prefix text to each entry in the list.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
List | 6.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "List.AddPrefix"; List; Prefix { ; NoReturnEnding } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
List | The list to process. | "Hello¶World" | |
Prefix | The text to prepend. | "!" | |
NoReturnEnding | 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. | 1 | Optional |
Result
Returns list or error.
Description
Adds a prefix text to each entry in the list.Examples
Add prefix to list:
MBS( "List.AddPrefix"; "Hello¶World"; "!")
See also
Blog Entries
This function checks for a license.
Created 4th March 2016, last changed 12nd March 2016