|
-
Dec 7th, 2002, 06:20 PM
#1
Thread Starter
Lively Member
parsing, splitting Nightmare
Ive read all I could possible read on this subject to no avail. Im sure the answer is easy I just CANT get it
This is part of the .txt/.log file I'm trying to separate into its own RichTextBox.
-------------------------------------
Windows 2000 IP Configuration
Host Name . . . . . . . . . . . . : parents
Primary DNS Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Broadcast
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : nc.rr.com
----------------------------------------
All I want to do is pull the specific info like the word "parents" and put it into the mentioned box.
Ive tried: selLenth, Seltart, Span,InStr,Split,InBetween and who knows what else.
I've had luck with split but all I can do with that is pull out info that is between "like chacters" ie..commas and colons. I need to get inbetween some constant words that wont change in the file like "Host Name" and the word "Primary", remember the word "parents" will change from computer to computer.
Any and all help is appreciated
R.L.T.W. A+, NET+, CCNA
Doin' my best
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|