wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Cutting off a string after certain amount Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Cutting off a string after certain amount" Watch "Cutting off a string after certain amount" New topic
Author

Cutting off a string after certain amount

Maja Gralewska
Ranch Hand

Joined: Sep 26, 2008
Posts: 92
Hi, im trying to get a string to cut off after a specific amount of characters, but i cant seem to get it to work. Here is my code.



Any idea's? Thanks

Potrzeba jest matka wynalazków
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19762
    
  20

Check out String's substring methods.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cutting off a string after certain amount