prefix
Less than 1 minute
prefix
Prefix a string to every item in a list
Description
Takes a list from stdin and returns that same list with each element prefixed.
Usage
<stdin> -> prefix str -> <stdout>
Examples
» ja [Monday..Wednesday] -> prefix foobar
[
"foobarMonday",
"foobarTuesday",
"foobarWednesday"
]
Detail
Supported data types can queried via runtime
runtime --marshallers
runtime --unmarshallers
Synonyms
prefix
list.prefix
See Also
a
(mkarray): A sophisticated yet simple way to build an array or listcount
: Count items in a map, list or arrayja
(mkarray): A sophisticated yet simply way to build a JSON arraylang.MarshalData()
(system API): Converts structured memory into a Murex data-type (eg for stdio)lang.UnmarshalData()
(system API): Converts a Murex data-type into structured memoryleft
: Left substring every item in a listright
: Right substring every item in a listruntime
: Returns runtime information on the internal state of Murexsuffix
: Prefix a string to every item in a list
This document was generated from builtins/core/lists/push_pop_doc.yaml.