mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Add String::remove_char(s) methods for performance and convenience
This commit is contained in:
@@ -96,8 +96,7 @@ static String fix_doc_description(const String &p_bbcode) {
|
||||
// Based on what EditorHelp does.
|
||||
|
||||
return p_bbcode.dedent()
|
||||
.replace("\t", "")
|
||||
.replace("\r", "")
|
||||
.remove_chars("\t\r")
|
||||
.strip_edges();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user