<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://www.wikiw.cn/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E6%9D%BF%3AStr_mid</id>
	<title>模板:Str mid - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://www.wikiw.cn/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E6%9D%BF%3AStr_mid"/>
	<link rel="alternate" type="text/html" href="https://www.wikiw.cn/index.php?title=%E6%A8%A1%E6%9D%BF:Str_mid&amp;action=history"/>
	<updated>2026-04-08T15:18:02Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://www.wikiw.cn/index.php?title=%E6%A8%A1%E6%9D%BF:Str_mid&amp;diff=101&amp;oldid=prev</id>
		<title>Admin：​导入1个版本</title>
		<link rel="alternate" type="text/html" href="https://www.wikiw.cn/index.php?title=%E6%A8%A1%E6%9D%BF:Str_mid&amp;diff=101&amp;oldid=prev"/>
		<updated>2025-06-20T16:45:32Z</updated>

		<summary type="html">&lt;p&gt;导入1个版本&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hans-CN&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2025年6月21日 (六) 00:45的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;zh-Hans-CN&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;（没有差异）&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://www.wikiw.cn/index.php?title=%E6%A8%A1%E6%9D%BF:Str_mid&amp;diff=100&amp;oldid=prev</id>
		<title>wikiw&gt;Xiplus-abot：​已更改“Template:Str mid”的保护等级：高風險模板：398075引用&lt;!-- 機器人3 --&gt;（[编辑=仅允许管理员]（无限期）[移动=仅允许管理员]（无限期））</title>
		<link rel="alternate" type="text/html" href="https://www.wikiw.cn/index.php?title=%E6%A8%A1%E6%9D%BF:Str_mid&amp;diff=100&amp;oldid=prev"/>
		<updated>2021-03-08T00:09:32Z</updated>

		<summary type="html">&lt;p&gt;已更改“&lt;a href=&quot;/index.php?title=%E6%A8%A1%E6%9D%BF:Str_mid&quot; title=&quot;模板:Str mid&quot;&gt;Template:Str mid&lt;/a&gt;”的保护等级：高風險模板：398075引用&amp;lt;!-- &lt;a href=&quot;/index.php?title=%E7%94%A8%E6%88%B7:Xiplus-abot/task/3&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;用户:Xiplus-abot/task/3（页面不存在）&quot;&gt;機器人3&lt;/a&gt; --&amp;gt;（[编辑=仅允许管理员]（无限期）[移动=仅允许管理员]（无限期））&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{str mid/core&lt;br /&gt;
| s={{{1|}}}&lt;br /&gt;
| i={{#if:{{{2|}}}}|{{{2|}}}|{{#ifexpr:({{#if:{{{3|}}}|1|0}} and {{#if:{{{4|}}}|1|0}})|{{#expr:{{min|{{{4|}}}|{{#invoke:String|len|{{trim|{{{1|}}}}}}}}}-{{{3|}}}+{{#ifexpr:{{{3|}}}&amp;lt;0|-1|1}}}}|1}}}}&lt;br /&gt;
| j={{min|{{#invoke:String|len|{{trim|{{{1|}}}}}}}|{{#if:{{{4|}}}|{{{4|}}}|{{#if:{{{3|}}}|{{#expr:{{#if:{{{2|}}}|{{{2|}}}|1}}+{{{3|}}}+{{#ifexpr:{{{3|}}}&amp;lt;0|1|-1}}}}|}}}}}}&lt;br /&gt;
| slen={{#invoke:String|len|{{trim|{{{1|}}}}}}}&lt;br /&gt;
| sublen={{formatnum:{{{3|}}}}}&lt;br /&gt;
| invert={{#ifexpr:{{formatnum:{{#ifeq:{{{3|}}}||0|{{{3|}}}}}}}&amp;lt;0|yes|no}}&lt;br /&gt;
| triangle check={{#if:{{{2|}}}|{{#if:{{{3|}}}|{{#if:{{{4|}}}|{{#ifexpr:(({{{4|}}}-{{{2|0}}}+1)&amp;lt;&amp;gt;{{{3|0}}}) and ({{{2|}}}*{{{4|}}}&amp;lt;&amp;gt;0)|Error using {{tl|Str mid}}: indexes i={{{2|}}} and j={{{4|}}} do not match requested substring length {{trim|{{{3|}}}}}}}|}}}}}}&lt;br /&gt;
|ignore_errors={{{ignore errors|false}}}&lt;br /&gt;
|error_category={{yesno|{{{error category|}}}|yes={{{error category|}}}}}&lt;br /&gt;
|no_category={{{no category|false}}}&lt;br /&gt;
&lt;br /&gt;
|dbg_in=_IN:_i2={{{2|u}}}_sublen3={{{3|u}}}_j4={{{4|u}}}_min={{min|{{{4|}}}|{{str len|{{trim|{{{1|}}}}}}}}}&lt;br /&gt;
|dbg=no&lt;br /&gt;
}}&amp;lt;noinclude&amp;gt;&lt;br /&gt;
* {{tl|Str mid}}&lt;br /&gt;
* {{tl|Str mid/core}}&lt;br /&gt;
* {{tl|Str mid/testcases}}&lt;br /&gt;
{{documentation}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>wikiw&gt;Xiplus-abot</name></author>
	</entry>
</feed>