StringArrayHelper Class
Namespace: PTS
Assembly: PTSframework.dll
Provides a set of static methods for string[]
type.
Syntax
public static class StringArrayHelper
Inheritance
System.Object
StringArrayHelper
Methods
Merge(String[], String, Boolean)
Merges string array into single string instance with original values separted by specified delimiter.
Declaration
public static string Merge(this string[] values, string delimiter = ", ", bool skipEmpty = true)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | values | String instances to merge into single string. |
System.String | delimiter | Separates original array items. |
System.Boolean | skipEmpty | If set to |
Returns
Type | Description |
---|---|
System.String | A new string instance with items from the original string array separated by specified delimiter. |
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.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()