string modification

I would like to remove all text in a string before a period. for example "hello.how are you?" should become "how are you?"  tia.
EverballAsked:
Who is Participating?
 
UrosVidojevicConnect With a Mentor Commented:
               String str = "hello.how are you?";
            int pos = str.indexOf('.');
            str = str.substring(pos+1);
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.