You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00: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