<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://ubersoft.org/Sputnik/wiki/skins/common/feed.css?301"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
		<id>http://ubersoft.org/Sputnik/wiki/index.php?action=history&amp;feed=atom&amp;title=Core_Function_StartsWith</id>
		<title>Core Function StartsWith - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://ubersoft.org/Sputnik/wiki/index.php?action=history&amp;feed=atom&amp;title=Core_Function_StartsWith"/>
		<link rel="alternate" type="text/html" href="http://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_StartsWith&amp;action=history"/>
		<updated>2026-04-05T03:19:42Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.17.0</generator>

	<entry>
		<id>http://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_StartsWith&amp;diff=1194&amp;oldid=prev</id>
		<title>UberFoX: Created page with &quot;&lt;pre&gt; StartsWith( &lt;expression&gt;, &lt;expression2&gt;, &lt;flag&gt; ) &lt;/pre&gt;  === Description ===  Check if a string starts with a substring.  === Parameters ===  ==== expression ====  The str...&quot;</title>
		<link rel="alternate" type="text/html" href="http://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_StartsWith&amp;diff=1194&amp;oldid=prev"/>
				<updated>2011-12-02T14:08:32Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;pre&amp;gt; StartsWith( &amp;lt;expression&amp;gt;, &amp;lt;expression2&amp;gt;, &amp;lt;flag&amp;gt; ) &amp;lt;/pre&amp;gt;  === Description ===  Check if a string starts with a substring.  === Parameters ===  ==== expression ====  The str...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
StartsWith( &amp;lt;expression&amp;gt;, &amp;lt;expression2&amp;gt;, &amp;lt;flag&amp;gt; )&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
&lt;br /&gt;
Check if a string starts with a substring.&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
&lt;br /&gt;
==== expression ====&lt;br /&gt;
&lt;br /&gt;
The string to evaluate.&lt;br /&gt;
&lt;br /&gt;
==== expression2 ====&lt;br /&gt;
&lt;br /&gt;
The substring to use.&lt;br /&gt;
&lt;br /&gt;
==== flag ====&lt;br /&gt;
&lt;br /&gt;
Optional; If flag is higher than 0 then it will be case insensitive.&lt;br /&gt;
&lt;br /&gt;
Default is case sensitive.&lt;br /&gt;
&lt;br /&gt;
=== Return Value ===&lt;br /&gt;
&lt;br /&gt;
Success: Returns 1.&lt;br /&gt;
&lt;br /&gt;
Failure: Returns 0.&lt;br /&gt;
&lt;br /&gt;
=== Remarks ===&lt;br /&gt;
&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sputnik&amp;quot;&amp;gt;&lt;br /&gt;
$str = &amp;quot;I'm a string&amp;quot;;&lt;br /&gt;
println(      StartsWith($str, &amp;quot;I'm&amp;quot;)      ); // True&lt;br /&gt;
println(      StartsWith($str, &amp;quot;i'm&amp;quot;)      ); // False&lt;br /&gt;
println(      StartsWith($str, &amp;quot;i'm&amp;quot;, 1)      ); // True&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Core Function]]&lt;/div&gt;</summary>
		<author><name>UberFoX</name></author>	</entry>

	</feed>