ActionEngineUtilPadLeft Method

Pad the caller's value to the left with the specified pattern until it is greater than or equal to the specified total width.

Definition

Namespace: ActionEngine
Assembly: ActionEngine (in ActionEngine.dll) Version: 26.2117.4453
C#
public static string PadLeft(
	string pattern,
	int value,
	int totalWidth
)

Parameters

pattern  String
Pattern to pad the value with.
value  Int32
Value to pad.
totalWidth  Int32
The total minimum width allowable.

Return Value

String
The caller's value, padded left until it has reached at least the minimum total width.

See Also