Click here to Skip to main content
15,887,214 members
Home / Discussions / C#
   

C#

 
GeneralOleDbCommands and OleDbDataAdapter Pin
mindfuck13-Jun-03 4:17
mindfuck13-Jun-03 4:17 
GeneralRe: OleDbCommands and OleDbDataAdapter Pin
Laimis13-Jun-03 5:35
Laimis13-Jun-03 5:35 
GeneralText File Reading Newbie Question Pin
Ricardo Kirkner13-Jun-03 3:45
Ricardo Kirkner13-Jun-03 3:45 
GeneralRe: Text File Reading Newbie Question Pin
Jim Stewart13-Jun-03 5:07
Jim Stewart13-Jun-03 5:07 
GeneralRe: Text File Reading Newbie Question Pin
Ricardo Kirkner13-Jun-03 6:20
Ricardo Kirkner13-Jun-03 6:20 
GeneralRe: Text File Reading Newbie Question Pin
Nick Parker13-Jun-03 8:25
protectorNick Parker13-Jun-03 8:25 
GeneralRe: Text File Reading Newbie Question Pin
dynamic13-Jun-03 15:23
dynamic13-Jun-03 15:23 
GeneralRe: Text File Reading Newbie Question Pin
leppie13-Jun-03 16:31
leppie13-Jun-03 16:31 
Hehe, it appears people cant read questions anymore Laugh | :laugh:

I assume that you are looking for something like a "word" or "token" reader.
This is rather easy to do, and there are many ways to do this.

1. String.Split( char[] whitespace )
2. Take a string, read it char for char adding it to a StringBuilder when reaching whitespace, add string in StringBuilder to ArrayList and clear StringBuilder, continue the process. This gives you a bit more control and makes debugging easier.
3. Use RegEx.Split

<a TITLE="See my user info" href=http://www.codeproject.com/script/profile/whos_who.asp?id=38829>leppie<a>::<a TITLE="Go to all articles  written by me" href=http://www.codeproject.com/script/articles/list_articles.asp?userid=38829>AllocCPArticle</a>(<a TITLE="Go to my latest, greatest article!" href=http://www.codeproject.com/useritems/dfamachine.asp >Generic DFA State Machine for .NET</a>);

GeneralRe: Text File Reading Newbie Question Pin
dynamic13-Jun-03 23:16
dynamic13-Jun-03 23:16 
Questioncomponet for INTERNET EXPLORER programming in .NET? Pin
Asim N.13-Jun-03 3:03
Asim N.13-Jun-03 3:03 
AnswerRe: componet for INTERNET EXPLORER programming in .NET? Pin
Jon Newman14-Jun-03 8:12
Jon Newman14-Jun-03 8:12 
GeneralDouble Buffer - The best way Pin
aeros13-Jun-03 2:46
aeros13-Jun-03 2:46 
GeneralRe: Double Buffer - The best way Pin
James T. Johnson14-Jun-03 3:59
James T. Johnson14-Jun-03 3:59 
GeneralRe: Double Buffer - The best way Pin
Arun Bhalla18-Jun-03 13:41
Arun Bhalla18-Jun-03 13:41 
Questionhow can i handle the column resize event in C# ?? Pin
hard_coder13-Jun-03 2:24
hard_coder13-Jun-03 2:24 
QuestionHow can I prevent listview item checked from double-click? Pin
Vu Truong13-Jun-03 1:30
Vu Truong13-Jun-03 1:30 
AnswerRe: How can I prevent listview item checked from double-click? Pin
dynamic15-Jun-03 22:35
dynamic15-Jun-03 22:35 
GeneralRich Text Box Pin
MojoTheMonkey12-Jun-03 23:30
MojoTheMonkey12-Jun-03 23:30 
GeneralRe: Rich Text Box Pin
dynamic15-Jun-03 22:01
dynamic15-Jun-03 22:01 
GeneralRe: Rich Text Box Pin
MojoTheMonkey15-Jun-03 22:59
MojoTheMonkey15-Jun-03 22:59 
GeneralProgram locks up while calling DOS programs using System.Diagnostics.Process Pin
Dalan Galma12-Jun-03 21:59
Dalan Galma12-Jun-03 21:59 
GeneralRe: Program locks up while calling DOS programs using System.Diagnostics.Process Pin
shaunAustin12-Jun-03 23:17
shaunAustin12-Jun-03 23:17 
GeneralRe: Program locks up while calling DOS programs using System.Diagnostics.Process Pin
Dalan Galma13-Jun-03 7:56
Dalan Galma13-Jun-03 7:56 
QuestionHow to disable the WebBrower Control's Scroll Bar Pin
neomagic12-Jun-03 21:37
neomagic12-Jun-03 21:37 
Generalurgent help required Pin
Venkatraman12-Jun-03 19:54
Venkatraman12-Jun-03 19:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.