PostSharpAPI ReferencePost­Sharp.​Patterns.​FormattersUnsafe­String­BuilderTruncate
Open sandboxFocus

UnsafeStringBuilder.Truncate Method

Truncate(Int32)

Truncates the string to a maximum length.

Declaration
public void Truncate(int length)
Parameters
Type Name Description
Int32 length

The wished length of the string after truncation