Has_Syntax.

Substring(string) Method

Summary

Returns a constraint that succeeds if the actual value contains the substring supplied as an argument.
Namespace
TCLite.Constraints
Containing Type
Has_Syntax

Syntax

public static SubstringConstraint Substring(string expected)

Parameters

Name Type Description
expected string

Return Value

Type Description
SubstringConstraint