Class StringHelper
Provide functions for string operations
Inheritance
System.Object
StringHelper
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic
Assembly: Simplic.CoreLib.dll
Syntax
public class StringHelper
Methods
| Improve this Doc View SourceBreakLine(String, Int32)
Break string into lines
Declaration
public static string BreakLine(string Text, int MaxCharsInLine)
Parameters
Type | Name | Description |
---|---|---|
System.String | Text | |
System.Int32 | MaxCharsInLine |
Returns
Type | Description |
---|---|
System.String |
GetNullForWhiteSpace(String)
Get Null for empty/whitespace string
Declaration
public static string GetNullForWhiteSpace(string input)
Parameters
Type | Name | Description |
---|---|---|
System.String | input | Text |
Returns
Type | Description |
---|---|
System.String | Null or input string |