|
-
May 24th, 2010, 07:13 PM
#2
Re: Read randon line from txt with CFv3.5
Please post your Mobile questions in the Mobile forum. I've asked the mods to move this thread.
Create a StreamReader, call ReadToEnd to get the entire contents into a String, then call Split on that String to split on the line breaks. That will give you a String array, just like File.ReadAllLines, so everything from there should be the same.
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
|