﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
111	Extension to StringinStr to allow search from position as well as from occurrence (100% backwards compatible )	Fox2		"An additional flag parameter, also optional, that if you specify ""occurrence"" as a parameter, you can also after it specify ""search type"" too. The new description would be like this. Note this is 100% compatible with existing syntax, and defaults to the current behavior:


UPDATED SYNTAX AND DESCRIPTION:

StringInStr ( ""string"", ""substring"" [[, casesense [, from [, search type]]] )



** from [optional], search type [optional] **

Depending on search type, directs StringInStr to either find a given occurrance of a substring (default behavior), or search for a substring from a given position. 

If search type is zero or omitted (default) then ""from"" represents an occurrence of the substring to find in the string. Use a negative occurrence to search from the right side. The default value is 1 (finds first occurrence). 

If search type = 1 then ""from"" represents a position to start searching for the substring in the string (1 = first character). Use a negative occurrence to search from a number of characters from the right side. The default value is 1 (finds first occurrence from the start of the string). "	Feature Request	closed		AutoIt			Rejected	StringInStr	
