CommonGetValidLabel Method
Removes control characters and null from a string.
Namespace: Gemstone.PhasorProtocolsAssembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.181 -- Release Build+69c74c3448bebb1c8c739a856f2a43b00db6d500
Gemstone.PhasorProtocols.Common.GetValidLabel = function(value);
- value String
- Source String to validate.
Stringvalue with control characters and nulls removed.In Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Strings reported from field devices can be full of inconsistencies, this function helps clean-up the strings.