Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Feb 10, 2012 09:45 AM|LINK
Declare a boolean variable say 'boolIsListOpen' with default value as 'False'.
Now, while reading each line, when the string '<list>' will occur, set boolIsListOpen = True
And, when '</list> will occur, set boolIsListOpen = False
For replacing, use the code in my previous post. But, based on the value in the boolIsListOpen.
If it's True then only replace the values in the string.