CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: HanneSThEGreaT

Search: Search took 0.15 seconds.

  1. Replies
    11
    Views
    26,649

    Re: Counting words in each sentence using C#

    OK, this is a bit sloppy, but it should give you a good principle to start with :


    private void button1_Click(object sender, EventArgs e)
    {
    string strInput =...
  2. Replies
    11
    Views
    26,649

    Re: Counting words in each sentence using C#

    You'll need to do some string manipulation. What you actually need here is to look up String.Split and String.Substring and String.LastIndexOf - Just naming a few that immediately pops into my head.
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured