<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.statsape.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E6%9D%BF%3AReplace%2Fdoc</id>
	<title>模板:Replace/doc - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.statsape.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E6%9D%BF%3AReplace%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:Replace/doc&amp;action=history"/>
	<updated>2026-04-04T05:58:12Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:Replace/doc&amp;diff=858&amp;oldid=prev</id>
		<title>Zeroclanzhang：​创建页面，内容为“{{Documentation}} ;Usage &lt;code&gt;{{t|replace |&#039;&#039;string&#039;&#039; |&#039;&#039;target&#039;&#039; |&#039;&#039;replacement&#039;&#039;|&#039;&#039;count&#039;&#039;}}&lt;/code&gt;  Returns &#039;&#039;string&#039;&#039; with the first &#039;&#039;n&#039;&#039; occurrences of &#039;&#039;target&#039;&#039; replaced with &#039;&#039;replacement&#039;&#039;. Omitting &lt;code&gt;count&lt;/code&gt; will replace all occurrences.  ;Examples * &lt;code&gt;&lt;nowiki&gt;{{replace |One two two three two four twotwo five |two |NINE}}&lt;/nowiki&gt;&lt;/code&gt; → {{replace|One two two three two four twotwo five|two|NINE}} * &lt;code&gt;&lt;nowiki&gt;{{replace |One two t…”</title>
		<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:Replace/doc&amp;diff=858&amp;oldid=prev"/>
		<updated>2023-07-21T12:39:27Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“{{Documentation}} ;Usage &amp;lt;code&amp;gt;{{t|replace |&amp;#039;&amp;#039;string&amp;#039;&amp;#039; |&amp;#039;&amp;#039;target&amp;#039;&amp;#039; |&amp;#039;&amp;#039;replacement&amp;#039;&amp;#039;|&amp;#039;&amp;#039;count&amp;#039;&amp;#039;}}&amp;lt;/code&amp;gt;  Returns &amp;#039;&amp;#039;string&amp;#039;&amp;#039; with the first &amp;#039;&amp;#039;n&amp;#039;&amp;#039; occurrences of &amp;#039;&amp;#039;target&amp;#039;&amp;#039; replaced with &amp;#039;&amp;#039;replacement&amp;#039;&amp;#039;. Omitting &amp;lt;code&amp;gt;count&amp;lt;/code&amp;gt; will replace all occurrences.  ;Examples * &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{replace |One two two three two four twotwo five |two |NINE}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{replace|One two two three two four twotwo five|two|NINE}} * &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{replace |One two t…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation}}&lt;br /&gt;
;Usage&lt;br /&gt;
&amp;lt;code&amp;gt;{{t|replace |&amp;#039;&amp;#039;string&amp;#039;&amp;#039; |&amp;#039;&amp;#039;target&amp;#039;&amp;#039; |&amp;#039;&amp;#039;replacement&amp;#039;&amp;#039;|&amp;#039;&amp;#039;count&amp;#039;&amp;#039;}}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Returns &amp;#039;&amp;#039;string&amp;#039;&amp;#039; with the first &amp;#039;&amp;#039;n&amp;#039;&amp;#039; occurrences of &amp;#039;&amp;#039;target&amp;#039;&amp;#039; replaced with &amp;#039;&amp;#039;replacement&amp;#039;&amp;#039;. Omitting &amp;lt;code&amp;gt;count&amp;lt;/code&amp;gt; will replace all occurrences.&lt;br /&gt;
&lt;br /&gt;
;Examples&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{replace |One two two three two four twotwo five |two |NINE}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{replace|One two two three two four twotwo five|two|NINE}}&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{replace |One two two three two four twotwo five |two |NINE |count=2}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{replace|One two two three two four twotwo five|two|NINE|count=2}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
[[Category:String manipulation templates]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Zeroclanzhang</name></author>
	</entry>
</feed>