Click here to Skip to main content
12,697,505 members (27,414 online)
Click here to Skip to main content

Tagged as

Stats

0 views
Posted

Sentences to line with StreamReader txt to txt ?

, 8 Nov 2012 CPOL
hi!you can read all text from the file and split it to sentences using String.Split method. like this:foreach(string sentence in System.IO.File.ReadAllText(d).Split(new char[]{'.',',','!','?',';'}) { if (!lst.Contains(sentence )) { ...

Revisions


  

Compare Revision Minor Date Status Editor
3 - publicly available No 8-Nov-12 17:59 Available Nelek
Updates in content. 26 changes had been made.
2 No 8-Nov-12 17:44 Available mehrdad_safa
Updates in content.
1 No 8-Nov-12 17:41 Available mehrdad_safa

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

mehrdad_safa
United States United States
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170118.1 | Last Updated 9 Nov 2012
Article Copyright 2012 by mehrdad_safa
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid