Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB10.0
hi guys.. how do i get specific text on a text file like for example
 
i have a text file which contains the field i want to read
for example
 
name:skjfkljdsklfj
password:sdkfjksdfklj
 
the problem is i could not get the specific text on the textfile, i only get the whole
as i only read all of the file.. i wanted to get for example only the password text on the
textfile.. guys. how do i do that? sorry for my bad english..
Posted 12-Jul-13 18:36pm
lalar18419
Comments
MuhammadUsman1 at 13-Jul-13 0:14am
   
What you have saved in your file only one Name and Password or multiple name and password or some other text also saved in your file?
Sergey Alexandrovich Kryukov at 13-Jul-13 0:17am
   
Before you learn those simple string manipulation and a lot more related to general programming chores, dealing with passwords, log on, UI, network and other advanced stuff will be just a waste of time. Listen to a good advice: slow down, if you want to get some skills.
—SA
ThePhantomUpvoter at 13-Jul-13 8:15am
   
It's not your bad English, it's your complete lack of detail of what you have done, how you did it and what you wanted to do. If you only want certain information, why are you reading the entire file? Why are you unable to read the information out of whatever data structure that you stored the file text in?
lalar18 at 15-Jul-13 10:24am
   
my problem is that whenever i get text from the text file.. i cannot specify the lines that i want to get.. the result is all text from the text file are compressed into one..

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

  Print Answers RSS
0 OriginalGriff 490
1 Maciej Los 299
2 BillWoodruff 174
3 /\jmot 170
4 Suraj Sahoo | Coding Passion 150
0 OriginalGriff 8,484
1 Sergey Alexandrovich Kryukov 7,407
2 DamithSL 5,639
3 Maciej Los 5,159
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web02 | 2.8.1411023.1 | Last Updated 12 Jul 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100