This class provides usefull text methods.
| C# | Visual Basic | Visual C++ |
public class TextUtils
Public Class TextUtils
public ref class TextUtils
| All Members | Constructors | Methods | |||
| Icon | Member | Description |
|---|---|---|
| TextUtils()()()() | Initializes a new instance of the TextUtils class | |
| Equals(Object) | (Inherited from Object.) | |
| EscapeString(String, array<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.
(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 string 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.
| |
| SplitQuotedString(String, Char, Boolean, Int32) |
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 | |