What is the best way to match a string or part of a string in C language ? It could be whole string or such as "develop" took from "development". I used to solve this problem with some loops, but it getting TLE for large size in Length. Which way would be efficient ?
Thanks