How to check the presence of a string in between specified strings in a file in java
Suppose, there is a requirement to check that a particular string is present in a file but with a restriction that it should only be present between a pair of string. For example the string “your age” should be present in between “What is” and “?”. Working code follows:Read More →