Arduino Text Scrolling on 16x02 I2c on NodeMcu (esp8266-12)

Oh I see. I have done this:

      for (int i = start_loc + 3; i < end_loc; i++)
      {
       // scroll
       lcd.setCursor(1,1);
          if ( line[i].length() <= 16 ) {
            lcd.print(line[i]) ;
          }
          else {
            for ( int i = 0 ; i <= line[i].length() - 16 ; i++ ) {
              lcd.print( line[i].substring( i, i + 16 ) ) ;
              delay( 500 ) ;
            }
          }
      
       // scroll
      }

But I get the following error in my console:

request for member 'length' in 'line.String::operator[](((unsigned int)i))', which is of non-class type 'char'