fn replaceOwned(comptime T: type, allocator: Allocator, input: []const T, needle: []const T, replacement: []const T) Allocator.Error![]T
Perform a replacement on an allocated buffer of pre-determined size. Caller must free returned memory.
T: type,
allocator: Allocator,
input: []const T,
needle: []const T,
replacement: []const T,