NUnit.Framework.Constraints.MsgUtils.FindMismatchPosition Method
Shows the position two strings start to differ. Comparison starts at the start index.

Syntax

public static int FindMismatchPosition (string expected, string actual, int istart, bool ignoreCase)

Parameters

expected
The expected string
actual
The actual string
istart
The index in the strings at which comparison should start
ignoreCase
Boolean indicating whether case should be ignored

Returns

-1 if no mismatch found, or the index where mismatch found

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: NUnit.Framework.Constraints
Assembly: NUnitLite (in NUnitLite.dll)
Assembly Versions: 0.6.0.0, 1.0.0.0