Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,152,317 members, 7,815,592 topics. Date: Thursday, 02 May 2024 at 02:59 PM

How Copy Strings From Stringerbuilder To...a String Array - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / How Copy Strings From Stringerbuilder To...a String Array (647 Views)

Troubleshooting A String In Javame / Capitalise First Letter Of Words In A String / Converting Picture To Byte Array(blob) And Back To Picture (2) (3) (4)

(1) (Reply)

How Copy Strings From Stringerbuilder To...a String Array by Danyl(m): 2:28pm On Jan 09, 2013
Helo house, How can one copy Strings from Stringerbuilder objects into a string array in order to loop through the array elements without raising any synchronization issues on the StringerBuilder object. E.g

StringBuilder builder=new StringBuilder();


StringTokenizer element=new StringTokenizer(builder.toString());

int count=element.countToken();

//new string array to copy d string tokens frm d StringBuilder

String[] string=new String[count];

(1) (Reply)

Obama Encourages Students To Learn Computer Programing(exclusive Video) / Government Projects / Need A Web Designer?

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 5
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.