While we are talking about string concatenation, what about truncation? Is there a more efficient way to break a long string into segments than using substring()? For example, if I read a paragraph into a string and then wants to break it into line depending on the size of dialog box that will display the paragraph. What is the most efficient way of doing that?
 
Thanks in advance
 
Patrick Li
____________________________________________________
To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm

Be respectful! Clean up your posts before replying
____________________________________________________

Reply via email to