<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.cheatengine.org/index.php?action=history&amp;feed=atom&amp;title=Lua%3AClass%3AStrings</id>
	<title>Lua:Class:Strings - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.cheatengine.org/index.php?action=history&amp;feed=atom&amp;title=Lua%3AClass%3AStrings"/>
	<link rel="alternate" type="text/html" href="https://wiki.cheatengine.org/index.php?title=Lua:Class:Strings&amp;action=history"/>
	<updated>2026-05-22T10:38:36Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>https://wiki.cheatengine.org/index.php?title=Lua:Class:Strings&amp;diff=6933&amp;oldid=prev</id>
		<title>Vlykarye: filled out a proper class template for the Strings class</title>
		<link rel="alternate" type="text/html" href="https://wiki.cheatengine.org/index.php?title=Lua:Class:Strings&amp;diff=6933&amp;oldid=prev"/>
		<updated>2020-03-22T12:19:28Z</updated>

		<summary type="html">&lt;p&gt;filled out a proper class template for the Strings class&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Lua]]&lt;br /&gt;
Strings '''class''': ('''Inheritance''': ''[[Lua:Class:Object|Object]]'')&lt;br /&gt;
&lt;br /&gt;
Mostly an abstract class.&lt;br /&gt;
&lt;br /&gt;
== Properties ==&lt;br /&gt;
; Text &amp;amp;#58; string&lt;br /&gt;
: All the strings as one string.&lt;br /&gt;
&lt;br /&gt;
; Count &amp;amp;#58; number&lt;br /&gt;
: The number of strings in this list.&lt;br /&gt;
&lt;br /&gt;
; String[] &amp;amp;#58; string&lt;br /&gt;
: Array to access one specific string in the list.&lt;br /&gt;
&lt;br /&gt;
== Methods ==&lt;br /&gt;
; clear()&lt;br /&gt;
: Deletes all strings in the list.&lt;br /&gt;
&lt;br /&gt;
; add(string)&lt;br /&gt;
: Adds a string to the list.&lt;br /&gt;
&lt;br /&gt;
; delete(index)&lt;br /&gt;
: Deletes a string from the list at the index given.&lt;br /&gt;
&lt;br /&gt;
; getText() &amp;amp;#58; string&lt;br /&gt;
: Returns all the strings as one string.&lt;br /&gt;
&lt;br /&gt;
; setText()&lt;br /&gt;
: Sets the strings of the list to the given text (can be multi-line).&lt;br /&gt;
&lt;br /&gt;
; indexOf(string) &amp;amp;#58; index&lt;br /&gt;
: Returns the index of the first instance of the specified string.&lt;br /&gt;
: Returns -1 if not found.&lt;br /&gt;
&lt;br /&gt;
; insert(index, string)&lt;br /&gt;
: Inserts a string at a specific spot moving the items after it.&lt;br /&gt;
&lt;br /&gt;
; getCount() &amp;amp;#58; number&lt;br /&gt;
: Returns the number of strings in the list.&lt;br /&gt;
&lt;br /&gt;
; remove(string)&lt;br /&gt;
: Removes the first instance of the given string from the list.&lt;br /&gt;
&lt;br /&gt;
; loadFromFile(filename) &amp;amp;#58; boolean&lt;br /&gt;
: Loads the strings from a text file.&lt;br /&gt;
&lt;br /&gt;
; saveToFile(filename) &amp;amp;#58; boolean&lt;br /&gt;
: Saves the strings to a text file.&lt;br /&gt;
&lt;br /&gt;
; getString(index) &amp;amp;#58; string&lt;br /&gt;
: Gets the string at the given index.&lt;br /&gt;
&lt;br /&gt;
; setString(index, string)&lt;br /&gt;
: Replaces the string at the given index.&lt;br /&gt;
&lt;br /&gt;
{{LuaSeeAlso}}&lt;br /&gt;
&lt;br /&gt;
=== Related Classes ===&lt;br /&gt;
* [[Lua:Class:Object|Object]]&lt;/div&gt;</summary>
		<author><name>Vlykarye</name></author>
		
	</entry>
</feed>