ExtensionMethodsTruncate(String, Int32) Method
Namespace: CentralpointAssembly: Centralpoint (in Centralpoint.dll) Version: 2.0.0.0 (2.0.0.0)
public static string Truncate(
this string value,
int max
)
<ExtensionAttribute>
Public Shared Function Truncate (
value As String,
max As Integer
) As String
- value String
-
- max Int32
-
StringIn 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).