Hi all, How we can check the length of string without use of Lenght() menthod
*import *java.io.*; *class *StringLength{ *public static **void *main(String[] args){ *try*{ BufferedReader object=*new *BufferedReader (*new *InputStreamReader( System.in)); System.out.println("Eneter string value:"); String s=object.readLine(); *int *len=s.length(); System.out.println(len); } *catch*(Exception e){} } } -- Best Regards And Thanks : Parveen Thakur, Contact no.-9988208440. -- To post to this group, send email to javaprogrammingwithpassion@googlegroups.com To unsubscribe from this group, send email to javaprogrammingwithpassion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en