append() contain following usage:
1.append(boolean b)
2.append(char c)
3.append(char[] str)
4.append(char[] str, int offset, int len)
5.append(double d)
6.append(float f)
7.append(int i)
8.append(long l)
9.append(Object obj)
10.append(String str)
11.append(StringBuffer sb)
NO.4 is you need,following is usage:
Appends the string representation of a subarray of the char array argument to this string buffer
welcome to visite
http://www.linuxforum.net