Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,161,602 members, 7,847,530 topics. Date: Saturday, 01 June 2024 at 08:02 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 (651 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)

2013 African Startup Of The Year Awards. / Cyber Security And Computer Forsenics / Any Nairalander Programmer Residing In Ibadan?

(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. 8
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.