error: could not convert STRING

Tell me how to correctly handle the lines in the ARDUINO IDE.
In Visual Studio everything works.
I read the documentation on them.
Thank you

void setup() {
  Serial.begin(9600);

}

void loop() {
    int cl=0;
    int cl1=0;
    int page=0;
    String S = "21.12.2012"; // 2, 5 - rubbish
    String S1= {S[0], S[1], S[3], S[4], S[6], S[7], S[8], S[9] }; ///////// Ero
    int stats[3][5];
    Serial.println(S);
    Serial.println(S2);
    Serial.println("==SORT==");
    for(int i=0; i<3; i++){
        for(int j=0; j<4; j++){
            stats[i][j]=S1[page] - 48; 
             Serial.print(stats[i][j]); 
            cl++;
            if(cl==2 && cl1!=2){
                stats[i][2]=0;
                stats[i][3]=0;
                cl=0;
                cl1++;
                page++;
                break;
            }
            else if(cl==2 && cl1==2){
                //
            }
            page++;
        }
         Serial.println();
    }
    Serial.println("==COUT==");
    for(int i=0; i<3; i++){
        for(int j=0; j<4; j++){
            Serial.print(stats[i][j]);
        }
         Serial.println();
    }
    

}
C:\Users\User\Documents\Arduino\sketch_apr23a\sketch_apr23a.ino: In function 'void loop()':

sketch_apr23a:11: error: could not convert '{S.String::operator[](0u), S.String::operator[](1u), S.String::operator[](3u), S.String::operator[](4u), S.String::operator[](6u), S.String::operator[](7u), S.String::operator[](8u), S.String::operator[](9u)}' from '<brace-enclosed initializer list>' to 'String'

     String S1= {S[0], S[1], S[3], S[4], S[6], S[7], S[8], S[9] };

                                                                ^

exit status 1
could not convert '{S.String::operator[](0u), S.String::operator[](1u), S.String::operator[](3u), S.String::operator[](4u), S.String::operator[](6u), S.String::operator[](7u), S.String::operator[](8u), S.String::operator[](9u)}' from '<brace-enclosed initializer list>' to 'String'

I read the documentation on them.

probably not... or not the right documentation...

(hint - there is no way to initialize a String object from an array of chars... and you should not use the String class anyway - prefer the standard cStrings ie null terminated char arrays)

It is not a good idea to use the String (capital S) class on an Arduino as it can cause memory corruption in the small memory on an Arduino. Just use cstrings - char arrays terminated with 0.

...R