I’m sorry for my Bad English so you all not uderstand with Question. I’ve solved my problem with this code
for(int i=3; i<filteredSubGroupList .length(); i++){
try {
filteredSubGroupList = (ProgramMethod.filterArray(subGroupList, "main-group-nr", String.valueOf(3), false));
} catch (JSONException e) {
e.printStackTrace();
}
}
LOGCAT :
I/System.out: 3
I/System.out: [{"zknr":98,"bezeich":"CIGARETTE","fibukonto":"14","departement":1,"betriebsnr":98,"main-group-nr":3},{"zknr":700,"bezeich":"DISCOUNT","fibukonto":"00","departement":1,"betriebsnr":0,"main-group-nr":30}]
It’s make me get all int except 1 & 2. Sorry again for my bad English, thanks for every suggest and answer .
solved Value with All number except n or n number in Java [closed]