<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://tnwiki.jp/index.php?action=history&amp;feed=atom&amp;title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB%3AStr_endswith</id>
	<title>モジュール:Str endswith - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://tnwiki.jp/index.php?action=history&amp;feed=atom&amp;title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB%3AStr_endswith"/>
	<link rel="alternate" type="text/html" href="https://tnwiki.jp/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Str_endswith&amp;action=history"/>
	<updated>2026-05-03T20:41:06Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://tnwiki.jp/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Str_endswith&amp;diff=223&amp;oldid=prev</id>
		<title>Iyokanmorigen: 「モジュール:Str endswith」を保護しました ([編集=管理者のみ許可] (無期限) [移動=管理者のみ許可] (無期限))</title>
		<link rel="alternate" type="text/html" href="https://tnwiki.jp/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Str_endswith&amp;diff=223&amp;oldid=prev"/>
		<updated>2019-01-31T19:21:27Z</updated>

		<summary type="html">&lt;p&gt;「&lt;a href=&quot;/%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Str_endswith&quot; title=&quot;モジュール:Str endswith&quot;&gt;モジュール:Str endswith&lt;/a&gt;」を保護しました ([編集=管理者のみ許可] (無期限) [移動=管理者のみ許可] (無期限))&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;ja&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;2019年2月1日 (金) 04:21時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ja&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>Iyokanmorigen</name></author>
	</entry>
	<entry>
		<id>https://tnwiki.jp/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Str_endswith&amp;diff=155&amp;oldid=prev</id>
		<title>Iyokanmorigen: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://tnwiki.jp/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Str_endswith&amp;diff=155&amp;oldid=prev"/>
		<updated>2019-01-30T07:41: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;ja&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;2019年1月30日 (水) 16:41時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ja&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>Iyokanmorigen</name></author>
	</entry>
	<entry>
		<id>https://tnwiki.jp/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Str_endswith&amp;diff=154&amp;oldid=prev</id>
		<title>wikipedia&gt;K-iczn: en:Module:Str endswith 2016年11月7日 (月) 07:15‎(UTC)より</title>
		<link rel="alternate" type="text/html" href="https://tnwiki.jp/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Str_endswith&amp;diff=154&amp;oldid=prev"/>
		<updated>2016-11-07T13:05:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/index.php?title=En:Module:Str_endswith&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;En:Module:Str endswith (存在しないページ)&quot;&gt;en:Module:Str endswith&lt;/a&gt; 2016年11月7日 (月) 07:15‎(UTC)より&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- This module implements {{str endswith}}.&lt;br /&gt;
&lt;br /&gt;
local TRUE_STRING = &amp;#039;yes&amp;#039;&lt;br /&gt;
local FALSE_STRING = &amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
local function trim(s)&lt;br /&gt;
	return s:match(&amp;#039;^%s*(.-)%s*$&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local args = frame:getParent().args&lt;br /&gt;
	local s = args[1]&lt;br /&gt;
	local pattern = args[2]&lt;br /&gt;
	if not s or not pattern then&lt;br /&gt;
		-- TRUE_STRING is not the natural choice here, but is needed for&lt;br /&gt;
		-- backwards compatibility.&lt;br /&gt;
		return TRUE_STRING&lt;br /&gt;
	end&lt;br /&gt;
	s = trim(s)&lt;br /&gt;
	pattern = trim(pattern)&lt;br /&gt;
	if pattern == &amp;#039;&amp;#039; then&lt;br /&gt;
		-- All strings end with the empty string.&lt;br /&gt;
		return TRUE_STRING&lt;br /&gt;
	end&lt;br /&gt;
	if mw.ustring.sub(s, 0 - mw.ustring.len(pattern), -1) == pattern then&lt;br /&gt;
		return TRUE_STRING&lt;br /&gt;
	else&lt;br /&gt;
		return FALSE_STRING&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>wikipedia&gt;K-iczn</name></author>
	</entry>
</feed>