How can I partial compare two strings in C?

Posted by Nazgulled on Stack Overflow See other posts from Stack Overflow or by Nazgulled
Published on 2010-03-27T20:07:38Z Indexed on 2010/03/27 20:13 UTC
Read the original article Hit count: 251

Hi,

Let's say I have the following content:

Lorem Ipsum is simply dummy text of the printing and typesetting industry.

How do I search for dummy or dummy text in that string using C? Is there any easy way to do it or only with strong string manipulation? All I need is to search for it and return a boolean with the result.

© Stack Overflow or respective owner

Related posts about string-manipulation

Related posts about string-comparison