comefrom: <gouthampradhan>string_RepeatedSubstringPattern_1.java
code: public boolean repeatedSubstringPattern(String s) {
      boolean found;
      for (int i = 1, l = s.length(); i < l; i++) {
        found = true;
        String subI = s.substring(0, i);
        int j = i;
        if (j >= l) return false;
        while (j < l) {
          if ((j + i) >= l + 1) return false;
          String subJ = s.substring(j, j + i);
          if (!subI.equals(subJ)) {
            found = false;
            break;
          }
          j += i;
        }
        if (found) return true;
      }
      return false;
    }
masked: public boolean var_0 ( String var_2 ) {
    boolean var_4 ;
    for ( int var_6 = 1 , var_8 = var_2 . length ( ) ;
    var_6 < var_8 ;
    var_6 ++ ) {
      var_4 = true ;
      String var_11 = var_2 . substring ( 0 , var_6 ) ;
      int var_12 = var_6 ;
      if ( var_12 >= var_8 ) return false ;
      while ( var_12 < var_8 ) {
        if ( ( var_12 + var_6 ) >= var_8 + 1 ) return false ;
        String var_13 = var_2 . substring ( var_12 , var_12 + var_6 ) ;
        if ( ! var_11 . equals ( var_13 ) ) {
          var_4 = false ;
          break ;
        }
        var_12 += var_6 ;
      }
      if ( var_4 ) return true ;
    }
    return false ;
  }
  