replace_first

Function: replace_first
  replace the first occurrence of a piece of text with another piece of text

Examples:

  replace_first('some-text-text', 'text', '')
  -- Result: "some--text"




Signatures
text, text, text -> text