[GDNative] Expose String::join() to GDNative Core API v1.3

This commit is contained in:
Kirill Diduk
2022-07-16 16:31:32 +02:00
parent dc1a3554e0
commit 910c67b268
5 changed files with 29 additions and 2 deletions

View File

@ -1005,7 +1005,7 @@ Vector<int> String::split_ints_mk(const Vector<String> &p_splitters, bool p_allo
return ret;
}
String String::join(Vector<String> parts) {
String String::join(const Vector<String> &parts) const {
String ret;
for (int i = 0; i < parts.size(); ++i) {
if (i > 0) {