List of utility methods to do String Clone
String | cloneString(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); |