<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.soldat.pl/index.php?action=history&amp;feed=atom&amp;title=StrPos</id>
		<title>StrPos - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.soldat.pl/index.php?action=history&amp;feed=atom&amp;title=StrPos"/>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=StrPos&amp;action=history"/>
		<updated>2026-05-26T00:17:13Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.soldat.pl/index.php?title=StrPos&amp;diff=165&amp;oldid=prev</id>
		<title>Freeman: Created page with &quot;===From the Scripting Manual===  ''function StrPos(const Substr, S: string): integer;''    '''Parameter Info:'''   Substr (String): Substring to search for.   S (String): Stri...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=StrPos&amp;diff=165&amp;oldid=prev"/>
				<updated>2012-08-15T10:17:17Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;===From the Scripting Manual===  &amp;#039;&amp;#039;function StrPos(const Substr, S: string): integer;&amp;#039;&amp;#039;    &amp;#039;&amp;#039;&amp;#039;Parameter Info:&amp;#039;&amp;#039;&amp;#039;   Substr (String): Substring to search for.   S (String): Stri...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===From the Scripting Manual===&lt;br /&gt;
 ''function StrPos(const Substr, S: string): integer;''&lt;br /&gt;
 &lt;br /&gt;
 '''Parameter Info:'''&lt;br /&gt;
  Substr (String): Substring to search for.&lt;br /&gt;
  S (String): String to search in.&lt;br /&gt;
 &lt;br /&gt;
 '''Description:'''&lt;br /&gt;
  This function will return the integer position of the first occurence of (Substr) in (S).&lt;br /&gt;
  Note that the use of StrPos has the same result as the function Pos, except that it is slower. We Advise the use of Pos over StrPos.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;pascal&amp;quot;&amp;gt;var&lt;br /&gt;
MyString: string;&lt;br /&gt;
begin&lt;br /&gt;
    MyString := 'foobar';&lt;br /&gt;
    StrPos('bar',MyString); //4&lt;br /&gt;
    StrPos('f',MyString); //1&lt;br /&gt;
    StrPos('o',MyString); //2&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==External Links==&lt;br /&gt;
* [http://enesce.com/help/index.html?Functions/StrPos.html Scripting Manual page for StrPos]&lt;br /&gt;
&lt;br /&gt;
[[Category:Server Scripting]][[Category:Server Scripting Functions]]&lt;/div&gt;</summary>
		<author><name>Freeman</name></author>	</entry>

	</feed>