List of utility methods to do Chinese String Length Get
int | getChineseLength(String value) get Chinese Length int valueLength = 0; String chinese = "[\u0391-\uFFE5]"; for (int i = 0; i < value.length(); i++) { String temp = value.substring(i, i + 1); if (temp.matches(chinese)) { valueLength += 1; return valueLength; |