Class StringAssistantExtensions
Contains methods for string manipulation.
Inheritance
System.Object
StringAssistantExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public static class StringAssistantExtensions
Methods
IsHexString(String)
Determines whether the input string consists entirely of valid hexadecimal characters.
Declaration
public static bool IsHexString(string input)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | input | The string to check for hexadecimal validity. |
Returns
| Type | Description |
|---|---|
| System.Boolean |
|
Remarks
This method checks each character of the input string individually. It returns false immediately upon encountering any non-hexadecimal character. An empty string is considered a valid hexadecimal string and will return true.