public int length(){
  return str.length();
}

public int length ( ) { return str . length ( ) ; }
returns the length of string of this charseq . the length is equal to the number of unicode code units in the string .
