Strange probelm with Strings

Joined
Aug 1, 2006
Messages
1
Reaction score
0
I am getting one string from some application
If I pass the string to LOG4J it is printing properly
But If i try to access the string after certain number of characters I am failing to access that string

Lets say I am getting a string of "Hello how r u? **T** ect ect"

I am able to print entire string with LOG4J but If i use substring I am unable to access after '*'
Ex:
str.substring(0,5) ----Hello (fine)
str.substring(15,20)----printing nothing (where is my **T**?????)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,990
Messages
2,570,211
Members
46,796
Latest member
SteveBreed

Latest Threads

Top