Replace string

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

Function Syntax

buffer replace_string(buffer original ,string find ,string replace )

buffer replace_string(string original ,string find ,string replace )

  • original is the starting string or buffer
  • find is the text to find in original
  • replace is the text to substitute for find

Replaces

Special

First all what?