Arrays.stream(substring(1, str.length() - 1).split(",")).maptoInt(Integer::parseInt).toArray();