Description
Trims the string to given length

Namespace: Docs.Word
Assembly: Docs.Word (in Docs.Word.dll) Version: 2.3.0.0 (2.3)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static string Trim(
	string Text,
	int Length
)
Public Shared Function Trim ( _
	Text As String, _
	Length As Integer _
) As String
public:
static String^ Trim(
	String^ Text, 
	int Length
)

Parameters

Text
String
Text string to trim
Length
Int32
Maximal length

Return Value

Trimed string

See Also