
Write a java program to find a sub string from given string by using I/O package.

Hi,
You have to use String class. Store the values in string and then use the substring function of String class.
Read it at String substring(int beginIndex, int endIndex) example.
Thanks
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.