File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
String index out of range: -19
Joined: Jul 17, 2008
Jul 17, 2008 17:03:00
I try to run a
script program to replace a 32 bit
. The string contains the value of [A-Za-z0-9.-_].
The Input file contains 288450 lines.
when i try to execute the program.
I got the error message as "String index out of range: -19" and i got the output with only 86934 lines.
Can you please help me out for this issue, i am new to Java.
author & internet detective
Joined: May 26, 2003
Jul 17, 2008 19:11:00
Welcome to JavaRanch!
Can you post the code snippet that shows which line of your program throws that exception?
OCA 8 book
How To Ask Questions The Smart Way
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
Joined: Aug 31, 2004
Jul 17, 2008 20:45:00
Originally posted by Aruldurai thomas:
... I try to run a Java script program...
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award."
I agree. Here's the link:
subject: String index out of range: -19
Counting uppercase? Part 3
Why do i get this run time eroor... plz help
Problem zipping the file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015