Skip to main content

Add Suffix (suffix)

Laurence MorganLess than 1 minuteBuiltin CommandsList / Array Editing

Add Suffix (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