Can truncate a string.
public interface ITruncatorDerived
↳ DynamicNumberOfCharactersAndPreserveWordsTruncator
Truncate a string
string? Truncate(string? value, int length, string? truncationString, Humanizer.TruncateFrom truncateFrom=Humanizer.TruncateFrom.Right);value System.String
The string to truncate
length System.Int32
The length to truncate to
truncationString System.String
The string used to truncate with
truncateFrom TruncateFrom
The enum value used to determine from where to truncate the string
System.String
The truncated string