StringExtensions.Truncate Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

Truncate(String, Int32)

Trims a string after a specific length.

public static string Truncate(this string input, int length)

Parameters

input
System.String
length
System.Int32

Returns

System.String