I have a file like this
test.txt
xxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxx
-------My String-------------------
Some text @@ Some text
Some text @@ Some text
...
What I am trying to do is find the "My String" and store reset of lines after "my string" in to one array .
another one is after doing the above operation i want separate the before , After the string "@@" in to two arrays.
I unable to find do the first operation. can any body respond to me.
Start Free Trial