Advertisement
rc-chuah

StrStrI1

Jun 13th, 2022
721
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.32 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <shlwapi.h>
  3.  
  4. int main() {
  5.     const char haystack[] = "TutorialsPoint";
  6.     const char needle[] = "Point";
  7.     const char* ret;
  8.     ret = StrStrI(haystack, needle);
  9.     printf("The Substring Is: %s\n", ret);
  10.     printf("Press To Enter Continue ... ");
  11.     (void)getchar();
  12.     return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement