Finds a substring within a string.
#include <string.h> char *strstr (const char *string1, const char *string2);
wchar_t *wcsstr(const wchar_t *string1, const wchar_t *string2);
string1
string2
string2
in string1
.
tchar.h routine |
_UNICODE not defined |
_UNICODE defined |
---|---|---|
_tcsstr | strstr | wcsstr |
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 3.0 INtime 6.0 (for wide-character and generic text version) |
intime/rt/include/string.h intime/rt/include/wchar.h intime/rt/include/tchar.h |
string.h wchar.h tchar.h |
clib.lib |