// License: Modified MIT (NON-AI) // See the LICENSE file in the root directory for license information. // Copyright 2025 Timothy Prepscius #include "replace.h" #include "replaced.h" #include namespace tjp::core { String replacedFirst(const StringView & str, const StringView& from, const StringView& to) { auto s = String(str); replace(s, from, to); return s; } String replaced(const StringView & str, const StringView& from, const StringView& to) { auto s = String(str); replaceAll(s, from, to); return s; } } // namespace