Various methods of String class