right
- Command ReferenceRight substring every item in a list
Takes a list from STDIN and returns a right 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 right
counts from the left.
<stdin> -> right int -> <stdout>
Count from the right
» ja: [Monday..Wednesday] -> right 4
[
"nday",
"sday",
"sday"
]
Count from the left
» ja: [Monday..Wednesday] -> left -3
[
"day",
"sday",
"nesday"
]
Supported data types can queried via runtime
runtime: --marshallers
runtime: --unmarshallers
right
list.right
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 memoryprefix
: Prefix a string to 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 listThis 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 Fri May 19 22:45:48 UTC 2023 against commit 54b5f6754b5f67b250bbf7353e83c42ed187802584c3ae3.
Current version is 4.1.6140 which has been verified against 14045 tests cases.