[This is preliminary documentation and is subject to change.]
Strips Minecraft color codes from a given string.
Removes all ampersand-character sequences, including standard, fCraft-specific color codes, and newline codes.
Does not remove percent-color-codes.
Namespace: fCraftAssembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)
Syntax
| C# |
[NotNullAttribute] public static string StripColors( string message )
Parameters
- message
- String
String to process.
Return Value
A processed string.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | message is null. |