###Function###
StringInStr

###Description###
Checks if a string contains a given substring.

###Syntax###
StringInStr ( "string", "substring" [, casesense [, occurrence]] )


###Parameters###
@@ParamTable@@
string
	The string to evaluate.
substring
	The substring to search for.
casesense
	[optional] Flag to indicate if the operations should be case sensitive.
	0 = not case sensitive (default)
	1 = case sensitive
occurrence
	[optional] Which 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).
@@End@@


###ReturnValue###
@@ReturnTable@@
Success:	Returns the position of the substring.
Failure:	Returns 0 if substring not found.

@Error	0 - Normal operation
	1 - Occurrence was 0.  Occurrence must be a positive or negative integer.

@@End@@



###Remarks###
The first character position is 1.  If occurrence is given, casesense must also be given.


###Related###
String, StringLeft, StringLen, StringLower, StringMid, StringRight, StringTrimLeft, StringTrimRight, StringUpper


###Example###
@@IncludeExample@@
