ShopToolsUtilGetAltValue Method
Return the formatted alternate measurement value from the caller's
value.
Namespace: ShopToolsAssembly: ShopTools (in ShopTools.exe) Version: 25.2429.4649
public static string GetAltValue(
string value,
string normalValue = "",
bool useParethesis = true
)
Public Shared Function GetAltValue (
value As String,
Optional normalValue As String = "",
Optional useParethesis As Boolean = true
) As String
No code example is currently available or this language may not be supported.
- 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.
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.