Raised This Month: $ Target: $400
 0% 

Read multiple Integers from one String


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Silencer123
Veteran Member
Join Date: Jul 2006
Old 10-07-2006 , 08:37   Read multiple Integers from one String
Reply With Quote #1

Code:
public something() {     new string[64] = "123#456#789"         new first = ? // Shall read the Stuff before first "#" from "string" and convert it into a Number. (123)     new second = ? // Shall read the Stuff betweem the first and the second "#" from "string" and convert it into a Number. (456)     new third = ? // Shall read the Stuff after the last "#" from "string" and convert it into a Number. (789) }
How to?
Thanks in advance!
__________________
EAT YOUR VEGGIES
Silencer123 is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:44.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode