code: public boolean contains(char c) {
          for (int k = pos; k < len; k++) {
              if (chars[k] == c) return true;
          }
          return false;
      }
docs: Checks does specified symbol is present in this text.
  
  @param c the character to verify.
  @return true if character c is presented in this text and false otherwise.