NUnit.Framework.Constraints.MsgUtils.ClipString Method
Clip a string to a given length, starting at a particular offset, returning the clipped string with ellipses representing the removed parts

Syntax

public static string ClipString (string s, int maxStringLength, int clipStart)

Parameters

s
The string to be clipped
maxStringLength
The maximum permitted length of the result string
clipStart
The point at which to start clipping

Returns

The clipped string

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