Results 1 to 2 of 2
Thread: Can i just use toString?
- 07-31-2007, 08:27 PM #1
Member
- Join Date
- Jul 2007
- Posts
- 40
- Rep Power
- 0
Can i just use toString?
Hi, example you can split a String into a String[] with
But how can i join this array back into a string without looping though every element, isn't there an inverse function of split, which is usually called join? Can i just use toString?Java Code:String[] arrString = strString.split(strDelimiter);
In which case how do i do a delimiter between the joined strings.
Thanks.
- 07-31-2007, 08:32 PM #2
Senior Member
- Join Date
- Jul 2007
- Posts
- 135
- Rep Power
- 0
Similar Threads
-
Inheritance, methods, and toString...
By Kreuz14 in forum New To JavaReplies: 1Last Post: 04-01-2008, 10:12 PM -
toString method
By apfroggy0408 in forum New To JavaReplies: 6Last Post: 01-31-2008, 04:08 AM -
Arrays.toString
By Java Tip in forum Java TipReplies: 0Last Post: 12-01-2007, 09:35 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks