Results 1 to 10 of 10

Thread: Finding how many times the same word appears in a text file? {RESOLVED} THANKS JOACIM

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member stilekid007's Avatar
    Join Date
    Apr 2005
    Location
    DUDE! I'm your neighbor! HELLO!!!
    Posts
    388

    Finding how many times the same word appears in a text file? {RESOLVED} THANKS JOACIM

    Hello,

    I have a .txt file and it loads into a TextBox on my program. Once loaded I need a cmd button to click that will tell me how many times each word that exists in the textbox is.

    For example.

    Textbox.Text = Hello, My name is Stilekid007, what is your name?

    RESULTS WOULD BE:

    1 Hello
    1 My
    2 Name
    2 Is
    1 Stilekid007
    1 What
    1 Your
    -------

    Does anyone know if this can be done in VB 6.0?

    Thank you so muc for any replys!
    Stilekid007
    Last edited by stilekid007; Jun 13th, 2005 at 07:24 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width