This class provides usefull text methods.
| C# | Visual Basic | Managed C++ |
public class TextUtils
Public Class TextUtils
public ref class TextUtils
| All Members | Constructors | Methods | Properties | Fields | Events |
| Icon | Member | Description |
|---|---|---|
| TextUtilsNew() | Initializes a new instance of the TextUtils class. | |
| Equals(Object) | (Inherited from Object.) | |
| EscapeString(String, Char[]()) |
Escapes specified chars in the specified string.
| |
| Finalize() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode() | Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType() | Gets the Type of the current instance. (Inherited from Object.) | |
| IsToken(String) |
Gets if specified string is valid "token" value.
| |
| MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| QuotedIndexOf(String, Char) |
Gets first index of specified char. The specified char in quoted string is skipped.
Returns -1 if specified char doesn't exist.
| |
| QuoteString(String) |
Qoutes and escapes fishy(\") chars.
| |
| SplitQuotedString(String, Char) |
Splits string into string arrays. This split method won't split qouted strings, but only text outside of qouted string.
For example: '"text1, text2",text3' will be 2 parts: "text1, text2" and text3.
| |
| SplitQuotedString(String, Char, Boolean) |
Splits string into string arrays. This split method won't split qouted strings, but only text outside of qouted string.
For example: '"text1, text2",text3' will be 2 parts: "text1, text2" and text3.
| |
| SplitString(String, Char) |
Splits string into string arrays.
| |
| ToString() | (Inherited from Object.) | |
| UnEscapeString(String) |
Unescapes all escaped chars.
| |
| UnQuoteString(String) |
Unquotes and unescapes escaped chars specified text. For example "xxx" will become to 'xxx', "escaped quote \"", will become to escaped 'quote "'.
|
| Object | |
| TextUtils | |
Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)