Click or drag to resize
StringExtrasApplyTrim Method
Trim a string of a certain number of chars, either from the start or the end

Namespace: ANDREICSLIB.ClassExtras
Assembly: ANDREICSLIB (in ANDREICSLIB.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static string ApplyTrim(
	string origString,
	bool isFront,
	int length,
	int relativeStart = 0
)

Parameters

origString
Type: SystemString
isFront
Type: SystemBoolean
length
Type: SystemInt32
relativeStart (Optional)
Type: SystemInt32
front=true, start=relativestart. front=end, start=end-length+relativestart

Return Value

Type: String
See Also