T
Tim Quon
Hi
I have a pointer to char and need to replace a string inside with
another string. Something like that:
char* str_replace(const char* oldString, const char* toBeReplaced,
const char* replaceWith);
How can I code the function if the string is of dynamic length?
Thanks
Tim
I have a pointer to char and need to replace a string inside with
another string. Something like that:
char* str_replace(const char* oldString, const char* toBeReplaced,
const char* replaceWith);
How can I code the function if the string is of dynamic length?
Thanks
Tim