for example I have string
"city: Berlin, year: 1990, country: Germany",
I need to find the number 1990 after substring 'year:', the goal is to print the year from the substring.
I have list of strings(from each string I need to ger year) and iteration is:
        for(int i=0;i<arr.size();i++){ 
            str_ = arr.get(i);}  
I don't know how to proceed can someone help me please?
 
    