|
-
Getting code to read each line in a text box
I'm trying to assist some members and make a small program that will add up all the numbers on the right of each line... I've been working with game code for years, but this is my first attempt at Strings! lol
The following text below is what the text box will be filled with
05/02/2009 01:08:49 Ad Package Bonus in amount of 5.
05/02/2009 01:08:49 Ad Package acquired in amount of 20.
05/01/2009 02:14:59 Ad Package Bonus in amount of 4.
05/01/2009 02:14:59 Ad Package acquired in amount of 16.
04/30/2009 11:05:37 Ad Package Bonus in amount of 2.
04/30/2009 11:05:37 Ad Package acquired in amount of 11
Just need to add up the numbers on the right
Last edited by carpadeim12; 05-02-2009 at 02:25 PM.
Reason: improvement
Tags for this Thread
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
|