File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes String Length Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "String Length" Watch "String Length" New topic
Author

String Length

anchit pancholi
Ranch Hand

Joined: Oct 14, 2010
Posts: 53
Hi,

i am trying below code :-




i am not getting output of above code nor exception. but length function gave me correct answer i.e. 52001 . and i am able to write output in file but not able to show through System.out.println() at console ;

can someone help me to determine what went wrong ?

Thanks
Anchit
Kemal Sokolovic
Bartender

Joined: Jun 19, 2010
Posts: 825
    
    5

There might be a limitation on the length of output that can be printed for the console (if you are using IDE like NetBeans or Eclipse that is probably it).


The quieter you are, the more you are able to hear.
anchit pancholi
Ranch Hand

Joined: Oct 14, 2010
Posts: 53
Thanks for help i was using eclipse .
Rajdeep Biswas
Ranch Hand

Joined: Mar 26, 2012
Posts: 186

[quote = Anchit Pancholi]
Are you trying to create a new race of Strings in the po0ol ! Kidding....;) Kemal said it right


The biggest gamble will be to ask a question whose answer you know in that it will challenge your theory | www.TechAspire.blogspot.in
Gihan Pandigamage
Ranch Hand

Joined: Aug 23, 2009
Posts: 60
use this

instead of

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: String Length