Android Utililty Methods String Clone

List of utility methods to do String Clone

Description

The list of methods to do String Clone are organized into topic(s).

Method

StringcloneString(String value)
Create a new String instance based on an input String.
char[] chars = value.toCharArray();
char[] ret = new char[chars.length];
System.arraycopy(chars, 0, ret, 0, chars.length);
return new String(ret);