StringUtils Members
From MCManager API
| MCManager API Reference |
| StringUtils Members |
| StringUtils Class Constructors Methods See Also Send Feedback |
The StringUtils type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| StringUtils | Initializes a new instance of the StringUtils class |
Methods
| Name | Description | |
|---|---|---|
| CheckBool |
Checks if the string is bool true/false value.
| |
| CreateRegex |
Creates a regex PHP style like /regex/i makes it case insensitive.
| |
| Equals | (Inherited from Object.) | |
| Escape |
Escapes a string so it's JavaScript compatible. Converts ' and " to \' and \".
| |
| 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.) | |
| GetDate |
Returns a formatted date string by the specified format string.
| |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetSizeLong |
Returns a size long
| |
| GetSizeStr |
Returns a size string out of a size long for example 10MB.
| |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Sanitize |
Senitizes the specfified string.
| |
| ToString | (Inherited from Object.) |