StringUtils Members

MCManager API

The StringUtils type exposes the following members.

Constructors

  NameDescription
StringUtils
Initializes a new instance of the StringUtils class

Methods

  NameDescription
CheckBool
Checks if the string is bool true/false value.
CreateRegex
Creates a regex PHP style like /regex/i makes it case insensitive.
Equals
Determines whether the specified Object is equal to the current Object.
(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
Returns a String that represents the current Object.
(Inherited from Object.)

See Also