<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://w.electrodragon.com/w/index.php?action=history&amp;feed=atom&amp;title=LUA</id>
	<title>LUA - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://w.electrodragon.com/w/index.php?action=history&amp;feed=atom&amp;title=LUA"/>
	<link rel="alternate" type="text/html" href="https://w.electrodragon.com/w/index.php?title=LUA&amp;action=history"/>
	<updated>2026-07-24T05:53:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://w.electrodragon.com/w/index.php?title=LUA&amp;diff=26031&amp;oldid=prev</id>
		<title>Chao at 14:47, 3 April 2020</title>
		<link rel="alternate" type="text/html" href="https://w.electrodragon.com/w/index.php?title=LUA&amp;diff=26031&amp;oldid=prev"/>
		<updated>2020-04-03T14:47:53Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== [http://lua-users.org/wiki/StringLibraryTutorial Manual] ==&lt;br /&gt;
* [https://www.lua.org/manual/5.3/manual.html#6 6. Standard Libraries] &lt;br /&gt;
#'''Basic Functions'''&lt;br /&gt;
# Coroutine Manipulation&lt;br /&gt;
# '''Modules'''&lt;br /&gt;
# '''String Manipulation'''&lt;br /&gt;
# UTF-8 Support&lt;br /&gt;
# Table Manipulation&lt;br /&gt;
# Mathematical Functions&lt;br /&gt;
# Input and Output Facilities&lt;br /&gt;
# Operating System Facilities&lt;br /&gt;
# The Debug Library&lt;br /&gt;
&lt;br /&gt;
==[http://lua-users.org/wiki/StringLibraryTutorial String library] ==&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Commands !! Header text !! Header text&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
* string.sub(s, i [, j])&lt;br /&gt;
* s:sub(i [,j]) &lt;br /&gt;
|| Return a substring of the string passed. The substring starts at i. If the third argument j is not given, the substring will end at the end of the string. If the third argument is given, the substring ends at and includes j.&lt;br /&gt;
|| &lt;br /&gt;
&amp;lt;source lang = &amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
&amp;gt; = string.sub(&amp;quot;Hello Lua user&amp;quot;, 7)      -- from character 7 including 7 until the end&lt;br /&gt;
Lua user&lt;br /&gt;
&amp;gt; = string.sub(&amp;quot;Hello Lua user&amp;quot;, 7, 9)   -- from character 7 until and including 9&lt;br /&gt;
Lua&lt;br /&gt;
&amp;gt; = string.sub(&amp;quot;Hello Lua user&amp;quot;, -8)     -- 8 from the end until the end&lt;br /&gt;
Lua user&lt;br /&gt;
&amp;gt; = string.sub(&amp;quot;Hello Lua user&amp;quot;, -8, 9)  -- 8 from the end until 9 from the start&lt;br /&gt;
Lua&lt;br /&gt;
&amp;gt; = string.sub(&amp;quot;Hello Lua user&amp;quot;, -8, -6) -- 8 from the end until 6 from the end&lt;br /&gt;
Lua&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Example || Example || Example&lt;br /&gt;
|-&lt;br /&gt;
| Example || Example || Example&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== [http://lua-users.org/wiki/PatternsTutorial LUA Patterns] ==&lt;br /&gt;
* [https://www.lua.org/manual/5.3/manual.html#6.4.1 Lua Pattern manual]&lt;br /&gt;
&lt;br /&gt;
== Lanuage ==&lt;br /&gt;
* [https://www.lua.org/pil/4.3.1.html Statement] &lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
* https://wiki.openluat.com/&lt;br /&gt;
[[category: Code]]&lt;/div&gt;</summary>
		<author><name>Chao</name></author>
	</entry>
</feed>