Checks to see if search string is contained in inputstring. Returns trueString if it is and falseString if is not. Case insensitive.

Namespace:  HS.Sys.TheEnterprise.Common.Laserbear
Assembly:  Laserbear (in Laserbear.dll) Version: 1.1.0.0 (1.1.0.0)

Syntax

C#
public static string ParseStringContains(
	string inputString,
	string searchString,
	string trueString,
	string falseString
)
Visual Basic (Declaration)
Public Shared Function ParseStringContains ( _
	inputString As String, _
	searchString As String, _
	trueString As String, _
	falseString As String _
) As String
Visual C++
public:
static String^ ParseStringContains(
	String^ inputString, 
	String^ searchString, 
	String^ trueString, 
	String^ falseString
)

Parameters

inputString
Type: System..::.String
String to search
searchString
Type: System..::.String
String to search for in inputString
trueString
Type: System..::.String
String to return if searchString is in inputString
falseString
Type: System..::.String
String to return if searchString is NOT in inputString

Return Value

trueString if search string is found in input string (Case insensitive). falseString otherwise.

See Also