searching in .txt file

Discussion in 'C' started by doodoodee, Apr 9, 2009.

  1. doodoodee

    doodoodee New Member

    Apr 9, 2009
    Likes Received:
    Trophy Points:
    I have a problem regarding finding a word in a text file and printing the sentence out.. here is how the text file goes..


    The sky is blue. Leaves are drop from the sky. Waves is form in the sea.

    how am i suppose to do to actually search for a word like "is" then my outcome will be
    "The sky is blue. " and also "Waves is form in the sea."

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice