ShopToolsUtilGetAltValue Method

Return the formatted alternate measurement value from the caller's value.

Definition

Namespace: ShopTools
Assembly: ShopTools (in ShopTools.exe) Version: 25.2429.4649
C#
public static string GetAltValue(
	string value,
	string normalValue = "",
	bool useParethesis = true
)

Parameters

value  String
The text value to inspect.
normalValue  String  (Optional)
The normal value already set for this object.
useParethesis  Boolean  (Optional)
Optional value indicating whether to place the alternate value in parenthesis. Default = true.

Return Value

String
The formatted alternate measurement value for the supplied text, where a blank string remains blank, a repeat of the normal value is blank, a space is replaced by elipsis, and any other value is placed in parenthesis.

See Also