<doc>
	<legacy_id></legacy_id>
	<name>byteOffset</name>
	<type>function</type>

	<syntax>
		<example>byteOffset(bytesToFind,binaryStringToSearch[,bytesToSkip])</example>
		<example></example>
	</syntax>

	<synonyms>
	</synonyms>

	<summary>Returns the number of bytes between the first byte of a value and an occurrence of a specified binaryString.</summary>

	<examples>
<example><p>offset("c","abcde") -- returns 3</p></example>
<example><p>offset("b","abacadabra",2) -- returns 6</p></example>
<example><p>offset("bark","embarking") -- returns 3</p></example>
<example><p></p></example>
<example><p></p></example>
	</examples>

	<history>
		<introduced version="7.0">Added.</introduced>
		<deprecated version=""></deprecated>
		<removed version=""></removed>
		
		<experimental version=""></experimental>
		<nonexperimental version=""></nonexperimental>
	</history>

	<objects>
	</objects>

	<platforms>
		<mac/>
		<windows/>
		<linux/>
		<ios/>
		<android/>
	</platforms>

	<classes>
		<desktop/>
		<server/>
		<web/>
		<mobile/>
	</classes>

	<security>
	</security>


	<classification>
		<category>Text and Data Processing</category>
		<category></category>
	</classification>

	<references>
		<function tag="length">length function</function>
		<function tag="wordOffset">wordOffset function</function>
		<function tag="itemOffset">itemOffset function</function>
		<function tag="lineOffset">lineOffset function</function>
		<function tag="offset">offset function</function>
		<command tag="sort container">sort container command</command>
		<command tag="find">find command</command>
		<operator tag="begins with">begins with operator</operator>
	</references>

	<description><p></p><p></p></description>
</doc>