Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <shlwapi.h>
- int main() {
- wchar_t haystack[] = L"TutorialsPoint";
- wchar_t needle[] = L"Point";
- wchar_t* ret;
- ret = StrStrIW(haystack, needle);
- printf("The Substring Is: %ls\n", ret);
- printf("Press To Enter Continue ... ");
- (void)getchar();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement