murex Shell Docs

Command Reference: right

Right substring every item in a list

Description

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.

Usage

<stdin> -> right int -> <stdout>

Examples

Count from the right

» ja: [Monday..Wednesday] -> right 4
[
    "nday",
    "sday",
    "sday"
]

Count from the left

» ja: [Monday..Wednesday] -> left -3
[
    "day",
    "sday",
    "nesday"
]

Detail

Supported data types can queried via runtime

runtime: --marshallers
runtime: --unmarshallers

See Also

This site is rebuilt weekly, the content is automatically generated from murex's source code. Last built on Mon Aug 3 06:12:53 UTC 2020 against commit 2557f7c2557f7cc7535c452c21d89164bd38ed8996f02fd. Downloadable murex binaries are also built weekly. Current version is 0.52.2000 BETA which has been verified against tests.