Skip to main content

suffix

Laurence MorganLess than 1 minute

suffix

Prefix a string to every item in a list

Description

Takes a list from STDIN and returns that same list with each element suffixed.

Usage

<stdin> -> suffix str -> <stdout>

Examples

» ja [Monday..Wednesday] -> suffix foobar
[
    "Mondayfoobar",
    "Tuesdayfoobar",
    "Wednesdayfoobar"
]

Detail

Supported data types can queried via runtime

runtime --marshallers
runtime --unmarshallers

Synonyms

  • suffix
  • list.suffix

See Also


This document was generated from builtins/core/lists/push_pop_doc.yamlopen in new window.

Last update:
Contributors: Laurence Morgan,Laurence Morgan