Monday, November 5, 2012

StringBuilder


StringBuilder

substring

public CharSequence subSequence(int start,
                                int end)
Parameters:
start - The beginning index, inclusive.
end - The ending index, exclusive.

replace

public StringBuilder replace(int start,
                             int end,
                             String str)
Parameters:
start - The beginning index, inclusive.
end - The ending index, exclusive.
str - String that will replace previous contents.


No comments:

Post a Comment