Module:Cmap/doc: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
For now this is really just a replace module -- could probably just call this replace instead. Returns arg1 with all instances of arg2 replaced with arg3.
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]

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