Get a substring of a char* [duplicate] Get a substring of a char* [duplicate] c c