Right Sub-String (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

Synonyms

See Also


This 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 Tue Dec 10 22:56:57 UTC 2024 against commit 60f05a260f05a227caf73dd5b3478e3cb3f4bb24e46745b.

Current version is 6.4.1005 (develop) which has been verified against tests cases.