Author: rsunilsurender | Posted on: 1/19/2010 12:52:19 AM | Views : 301

Hello Friends,
For example,
""""The man,the girl.the boy,the man/girl"""
From above sentence each word should be splitted with {, . /} into single words.
Output should be like::::
The --- 4(Times occured)

man --- 2
girl --- 2
boy --- 1


I have tried below
String data = this.con.Text;
        char[] a = { ' ', '/', '.' };
        string[] b = data.Split(a);
        ArrayList c = new ArrayList();

        for (int i = 0; i <= b.Length-1; i++)
        {
            c.Insert(i, b[i]);
            Response.Write(c[i]);
 & ...

Go to the complete details ...