1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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