diff -r aa8621b58cd7 -r 38b051dea6b1 docs/Writerside/topics/string.h.md --- a/docs/Writerside/topics/string.h.md Mon Dec 22 00:20:41 2025 +0100 +++ b/docs/Writerside/topics/string.h.md Mon Dec 22 15:28:07 2025 +0100 @@ -196,17 +196,17 @@ ```C #include -cxmutstr cx_strreplace(cxstring str, - cxstring search, cxstring replacement); +cxmutstr cx_strreplace(AnyStr str, + AnyStr search, AnyStr replacement); -cxmutstr cx_strreplace_a(const CxAllocator *allocator, cxstring str, - cxstring search, cxstring replacement); +cxmutstr cx_strreplace_a(const CxAllocator *allocator, AnyStr str, + AnyStr search, AnyStr replacement); -cxmutstr cx_strreplacen(cxstring str, - cxstring search, cxstring replacement, size_t replmax); +cxmutstr cx_strreplacen(AnyStr str, + AnyStr search, AnyStr replacement, size_t replmax); -cxmutstr cx_strreplacen_a(const CxAllocator *allocator, cxstring str, - cxstring search, cxstring replacement, size_t replmax); +cxmutstr cx_strreplacen_a(const CxAllocator *allocator, AnyStr str, + AnyStr search, AnyStr replacement, size_t replmax); ``` The function `cx_strreplace()` allocates a new string which will contain a copy of `str`