aboutsummaryrefslogtreecommitdiff
path: root/src/utils.odin
blob: 1ef26eb2abe8b3ad03a08912394e0877a5ae1b37 (plain)
1
2
3
4
5
6
7
8
9
10
package main

import "core:slice"
import "core:strings"

concatenate :: proc(old_array: [dynamic]string) -> string {
	new_array := slice.clone(old_array[:])
	defer delete(new_array)
	return strings.concatenate(new_array)
}