|
I am not very familiar with writing and reader files yet, so I'm having a tough time figuring this out. Using StreamWriter, I'm writing the following to a .text file: UpgradePointsTotalAmount = 5250 Now I need to retrieve the number only, by first checking if "UpgradePointsTotalAmount" exists, and then returning its value. How would I do that using StreamReader? Thanks in advance for your time! Stephane
(comments are locked)
|
|
Try this out: I wrote this code by adapting the example from this site: http://www.dotnetperls.com/get-numbers-from-string Awesome! This works exactly how I needed it to work, thanks a lot for your help kari :)
Sep 03 '11 at 09:17 PM
ronronmx
(comments are locked)
|
