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.
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.
.NET Framework 3.5
.NET Framework 4.0
.NET Framework 4.5
.NET Framework 4.5.1
One important thing about this repository, you have the possibility to avoid database exceptions related to exceeding the limit of the maximum allowed length of the string type columns. To specify the maximum allowed string length you can use data annotation attributes predefined in...