Revision Difference
string.StartWith#511939
<function name="StartWith" parent="string" type="libraryfunc">⤶
	<description>Returns whether or not the first string starts with the second.</description>⤶
	<realm>Shared and Menu</realm>⤶
	<file line="314">lua/includes/extensions/string.lua</file>⤶
	<args>⤶
		<arg name="inputStr" type="string">String to check.</arg>⤶
		<arg name="start" type="string">String to check with.</arg>⤶
	</args>⤶
	<rets>⤶
		<ret name="" type="boolean">Whether the first string starts with the second.</ret>⤶
	</rets>⤶
</function>⤶
⤶
<example>⤶
	<description>Demonstrates the use of string.StartWith</description>⤶
	<output>true</output>⤶
	<code>print(string.StartWith("hello there", "hell"))</code>⤶
⤶
</example>
 Garry's Mod
			Garry's Mod 
		 Rust
			Rust 
		 Steamworks
			Steamworks 
		 Wiki Help
			Wiki Help