Class StringAssistant
Contains methods for string manipulation.
Inheritance
System.Object
StringAssistant
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 class StringAssistant
Methods
IsNullOrWhiteSpace(String)
Declaration
public static bool IsNullOrWhiteSpace(string s)
Parameters
Type | Name | Description |
---|---|---|
System.String | s | The s. |
Returns
Type | Description |
---|---|
System.Boolean |
SubArray(String[], Int32)
Creates a subarray from an existing array.
Declaration
public static string[] SubArray(string[] array, int offset)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | array | The source array. |
System.Int32 | offset | The offset into the source array. |
Returns
Type | Description |
---|---|
System.String[] | The subarray. |
SubArray(String[], Int32, Int32)
Creates a subarray from an existing array.
Declaration
public static string[] SubArray(string[] array, int offset, int count)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | array | The source array. |
System.Int32 | offset | The offset into the source array. |
System.Int32 | count | The number of elements to copy into the subarray. |
Returns
Type | Description |
---|---|
System.String[] | The subarray. |