prefix

add given prefix to string


Parameters

prefix string :string :literal
       prefix :string

Returns

  • :string
  • or  :nothing

Examples

copy
prefix "ello" "h" ; => "hello"

copy
str: "ello" prefix 'str ; str: "hello"

Related