A collection of methods for manipulating text.
Has a method for truncating a text to a specific number of characters.
Has a method for truncating a text to the very last dot within a number of charcaters.
https://www.empeno.dk/mortenempeno/
The TextHelper library provides a set of methods for filtering, formatting and transforming strings, which can reduce the amount of inline C# code in your views. These helper methods extend System.String making usable within existing code bases.
VB.NET source file with an extension method that allows to truncate (instead of bankers round) Double values into Int64 ones, optionally throwing an exception if the value is out-of-range.
Supported versions:
.NET Framework 3.5
.NET Framework 4.0
.NET Framework 4.5
.NET Framework 4.5.1
.NET...
More information