CommonFunctionsTruncateString Method

Shortens a string to the maximum length specified.

Definition

Namespace: Scanjour.Workflow4.Base
Assembly: Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 24.4.0.0 (24.4.0.0)
C#
public static string TruncateString(
	string text,
	int maxLenght
)

Parameters

text  String
The text to be shortened.
maxLenght  Int32

[Missing <param name="maxLenght"/> documentation for "M:Scanjour.Workflow4.Base.CommonFunctions.TruncateString(System.String,System.Int32)"]

Return Value

String
The potentially shortened string.

See Also