Append replacement

From Kolmafia
Revision as of 16:32, 12 March 2010 by imported>StDoodle (Created page with '{{ #vardefine:name|append_replacement}}{{ #vardefine:return_type|buffer}}{{ FunctionPage| name={{#var:name}}| function_category=| function1={{Function| name={{#var:name}}| aggr…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
needs(code_samples);

Function Syntax

buffer append_replacement(matcher match_at ,buffer source ,string replace )

  • match_at is where to make replacements
  • source is the original buffer to make changes to
  • replace is what to replace matches with

Returns a modified version of source, with all valid matches for match_at replaced with the text replace.

See Also

append_tail()


Attention KoLmafia Experts!

We need your help; some details of this function's operation are unknown or unclear.

The following specific question has been raised:

  • I have no idea if I'm even close on this one; please check.