File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with findinline function

 
sparsh khandelwal
Ranch Hand
Posts: 76
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try to write code to understand the function of findInLine function , but i failed to write a successful program.

what i try to do that if i give input "abcd" , then variable a will be = to d ,varibale b=c ,c=b and d=a (according to the input , but face a run time error)
please help
 
Winston Gutkowski
Bartender
Pie
Posts: 9477
50
Eclipse IDE Hibernate Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sparsh khandelwal wrote:what i try to do that if i give input "abcd" , then variable a will be = to d ,varibale b=c ,c=b and d=a (according to the input , but face a run time error)

First: when asking a question about an error, you should always specify what the error is, including providing the exact message. I have to admit to never having used findInLine(), but from what I see, I'd care to bet that yours is an IndexOutOfBoundsException.

Second: Your statement above is definitely NOT what I get from reading the API docs for findInLine(). Maybe you could explain why you think it works that way.

Winston
 
sparsh khandelwal
Ranch Hand
Posts: 76
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey thank for your time
here comes the actual program , i modify this one to understand the working of findinline function but failed to do so :-)
 
Henry Wong
author
Marshal
Pie
Posts: 20835
75
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sparsh khandelwal wrote:hey thank for your time
here comes the actual program , i modify this one to understand the working of findinline function but failed to do so :-)


Hate to point out the obvious, but can you guess what the error may be based on the exception that is returned???

Henry
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic