Class StringDelimiter
This class builds a delimited string.
Inheritance
System.Object
StringDelimiter
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()
Namespace: JK.Common.Text
Assembly: JK.Common.dll
Syntax
public class StringDelimiter
Constructors
| Improve this Doc View SourceStringDelimiter(String)
Initializes a new instance of the StringDelimiter class.
Declaration
public StringDelimiter(string delimiter)
Parameters
Type | Name | Description |
---|---|---|
System.String | delimiter | The string to use when delimiting sections. |
Properties
| Improve this Doc View SourceDelimitedText
Gets the delimited text string.
Declaration
public string DelimitedText { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceAddText(in String)
Adds a block of text to the current string and delimits if necessary.
Declaration
public void AddText(in string addition)
Parameters
Type | Name | Description |
---|---|---|
System.String | addition | The string to add to the current string. |