left
Left substring every item in a list
Takes a list from stdin and returns a left substring of that same list.
One parameter is required and that is the number of characters to
return. If the parameter is a negative then left
counts
from the right.
<stdin> -> left int -> <stdout>
» ja [Monday..Wednesday] -> left 2
[
"Mo",
"Tu",
"We"
]
» ja [Monday..Wednesday] -> left -3
[
"Mon",
"Tues",
"Wednes"
]
Supported data types can queried via runtime
runtime --marshallers
runtime --unmarshallers
left
list.left
prefix
:
Prefix a string to every item in a listsuffix
:
Prefix a string to every item in a listcount
: Count
items in a map, list or arrayja
:
A sophisticated yet simply way to build a JSON arraya
: A sophisticated yet simple way to stream an array or
list (mkarray)right
: Right substring every item in a listruntime
: Returns runtime information on the internal
state of Murexlang.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 memoryThis document was generated from builtins/core/lists/push_pop_doc.yaml.
This site's content is rebuilt automatically from murex's source code after each merge to the master
branch. Downloadable murex binaries are also built with the website.
Last built on Sat Aug 23 22:28:13 UTC 2025 against commit ad23f13ad23f131bfecd82ea8a12d9b3e92aab5d8398ae9.
Current version is 7.0.2129 (website) which has been verified against tests cases.