jim_welch_se
asked on
Remove a token from a string
Hello Everyone,
I am wondering if anyone has a C or C++(non MFC) code that can find and remove a string from another string.
For example:
String= "A B C D /ZZ E F G H"
Token="/ZZ"
and the return would be
Returnstring="A B C D E F G H"
Any help you can provide would be greatly appreciated.
Best Regards,
-Jim
I am wondering if anyone has a C or C++(non MFC) code that can find and remove a string from another string.
For example:
String= "A B C D /ZZ E F G H"
Token="/ZZ"
and the return would be
Returnstring="A B C D E F G H"
Any help you can provide would be greatly appreciated.
Best Regards,
-Jim
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
#include <string.h>