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>
Count from the left
» ja: [Monday..Wednesday] -> left 2 [ "Mo", "Tu", "We" ]
Count from the right
» ja: [Monday..Wednesday] -> left -3 [ "Mon", "Tues", "Wednes" ]
Supported data types can queried via
runtime: --marshallers runtime: --unmarshallers
a(mkarray): A sophisticated yet simple way to build an array or list
count: Count items in a map, list or array
ja(mkarray): A sophisticated yet simply way to build a JSON array
lang.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 memory
prefix: Prefix a string to every item in a list
right: Right substring every item in a list
runtime: Returns runtime information on the internal state of murex
suffix: Prefix a string to every item in a list
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 Tue Jan 31 12:58:18 UTC 2023 against commit c6bc4d8c6bc4d8f96c958dcb16d78e66d89468aef288078.
Current version is which has been verified against 13941 tests cases.