Module:Cmap/doc: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(Created page with "hahah for now this is just a replace module -- could probably just call this replace instead")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
hahah for now this is just a replace module -- could probably just call this replace instead
Returns arg1 with all instances of arg2 replaced with arg3.
==Example==
<pre>{{#invoke:cmap|cmap|needle in haystack|needle|hay}}</pre>
:{{#invoke:cmap|cmap|needle in haystack|needle|hay}}

Latest revision as of 00:46, 8 January 2024

Returns arg1 with all instances of arg2 replaced with arg3.

Example[edit | hide | hide all]

{{#invoke:cmap|cmap|needle in haystack|needle|hay}}
hay in haystack