Richcoleuk
03-17-2003, 01:55 PM
I want to call up the clock, and then split it up into 6 digits so 24:24:24 would become 2,4,2,4,2,4 does anyone know how to do this?
|
Click to See Complete Forum and Search --> : Splitting it up? Richcoleuk 03-17-2003, 01:55 PM I want to call up the clock, and then split it up into 6 digits so 24:24:24 would become 2,4,2,4,2,4 does anyone know how to do this? Nevermore 03-17-2003, 02:02 PM split(""), I think would work Richcoleuk 03-17-2003, 02:04 PM how would you assign these six digits to 6 ints? Nevermore 03-17-2003, 02:06 PM loadofintegers =whateveritiscalled.split(""); This will save each part of the string as loadofintegers[1] loadofintegers[2] etc. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |