public static String[] stringInArrays(String fields) {
String[] field = null;
if (fields != null && fields.length() > 0) {
field = fields.split(",");
String first = field[0];
field[0] = first.substring(first.indexOf("[") + 1);
String last = field[field.length - 1];
field[field.length - 1] = last.substring(0, last.indexOf("]"));


}
return field;
}

相关文章:

  • 2022-01-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-31
  • 2022-12-23
  • 2021-09-29
  • 2022-12-23
  • 2021-11-19
相关资源
相似解决方案