Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Check If A String Is A Substring Of Another String | C Programming Example

17.7K views on YouTube

How to write a function to check if a string is a substring of another string in C; we might also say that are checking if one string is “in” another string. Source code: https://github.com/portfoliocourses/c-example-code/blob/main/check_substring.c. Check out https://www.portfoliocourses.com to build a portfolio that will impress employers!