[This is preliminary documentation and is subject to change.]
Escapes special characters (comma, newline, carriage return)
and appends the processed string to the given StringBuilder.
Used on all string fields of PlayerInfo and IPBanInfo.
Namespace: fCraftAssembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)
Syntax
| C# |
public static StringBuilder AppendEscaped( this StringBuilder sb, string str )
Parameters
- sb
- StringBuilder
StringBuilder to which string should be appended. May not be null.
- str
- String
String to process and append. If this string is null or empty, nothing is appended.
Return Value
A reference to the given StringBuilder (sb).Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type StringBuilder. When you use instance method syntax to call this method, omit the first parameter.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | sb is null. |