ExtensionMethodsTruncate(String, Int32, Boolean, String) Method

Definition

Namespace: Centralpoint
Assembly: Centralpoint (in Centralpoint.dll) Version: 2.0.0.0 (2.0.0.0)
C#
public static string Truncate(
	this string value,
	int max,
	bool removeMarkup,
	string suffix
)

Parameters

value  String
 
max  Int32
 
removeMarkup  Boolean
 
suffix  String
 

Return Value

String

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also