• Post Reply Bookmark Topic Watch Topic
  • New Topic

string index out of bounds exception encountered.  RSS feed

 
Ronald Mee
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

can anyone advise why i encountered index out of bouns exception when running this method to replace the value by $ sign?

E.g. i pass in a message $$vmdomodm$$

message = message.replaceAll("$", "$");
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please, Have a look at this discussion .
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!