Two Laptop Bag*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes example insert method in StringBuffer      Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "example insert method in StringBuffer      " Watch "example insert method in StringBuffer      " New topic
Author

example insert method in StringBuffer

Divyya Joshi
Ranch Hand

Joined: Jul 15, 2010
Posts: 102
Can anyone give me example of StringBuffer's method

ublic StringBuffer insert(int index,
char[] str,
int offset,
int len);

thanks in advance

John Stark
Ranch Hand

Joined: Jul 19, 2011
Posts: 185


Output is: OneTwoThreeFour.

John
Divyya Joshi
Ranch Hand

Joined: Jul 15, 2010
Posts: 102
Thanks John
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: example insert method in StringBuffer
 
Similar Threads
StringBuffer??
confuse about StringBuffer insert method
StringBuffer help
Problem with strings
StringBuffer