M
Maruthi Reddy
Hi All,
I want to get the pieces of code from the contents of file.
I can push the file contents into the array, But not getting some to
way to get the required piece of code.
My file looks something like
-------------------File start-------------------
............... ............. ... ... .............
................. ..... ........ ........... ......
AAA..... ............. ............. .........
............... .......... ............. .......
BBB ........ ........... ........ ...........
............ .......... .......... ...............
....... .......... .......... ........... ..........
AAA .... ........... .......... ............ .
........... ........ .............................
.............................. ..............
BBB ...........................................
.............................. ........... .....
----------------------File end ----------------
Here i would like to get the piecc of code between AAA and BBB.
Please suggest me.
Thanks,
mhm reddy.
I want to get the pieces of code from the contents of file.
I can push the file contents into the array, But not getting some to
way to get the required piece of code.
My file looks something like
-------------------File start-------------------
............... ............. ... ... .............
................. ..... ........ ........... ......
AAA..... ............. ............. .........
............... .......... ............. .......
BBB ........ ........... ........ ...........
............ .......... .......... ...............
....... .......... .......... ........... ..........
AAA .... ........... .......... ............ .
........... ........ .............................
.............................. ..............
BBB ...........................................
.............................. ........... .....
----------------------File end ----------------
Here i would like to get the piecc of code between AAA and BBB.
Please suggest me.
Thanks,
mhm reddy.