NVelocity.App.Tools.VelocityFormatter.LimitLen C# (CSharp) Method

LimitLen() public method

Limits 'string' to 'maxlen' characters. If the string gets curtailed, "..." is appended to it.
public LimitLen ( int maxlen, String value ) : String
maxlen int An int with the maximum length.
value String A String.
return String
		public String LimitLen(int maxlen, String value)
		{
			return LimitLen(maxlen, value, "...");
		}

Same methods

VelocityFormatter::LimitLen ( int maxlen, String value, String suffix ) : String