I want to replace only value of DB_USER_ID to 'ORACLE_9i'.
but whenever i am trying to search with "
#! DB_USER_ID:
#! VALUE:'ORACLE'
" directly or with "#! DB_USER_ID:\\n#! VALUE:'ORACLE'" with new line character, i am not getting any o/p in StringReplacer.
Please let me know the resolution.
Thanks.
Subrat
Best answer by davideagle
Assuming you are using the Text reader then set the parameters to "Read whole file at once" = NO. And "Read bottom up" = NO. Then each line will come through as a feature single feature. You'll then beable to give them each an ID to allow inserting back into the target text file. Then search and replace the first feature from #! VALUE:'' to #! VALUE:'ORACLE_9i' and then do the second value string. All possible because each line of the text file is read as 1 feature and in order from top to bottom.
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.
Assuming you are using the Text reader then set the parameters to "Read whole file at once" = NO. And "Read bottom up" = NO. Then each line will come through as a feature single feature. You'll then beable to give them each an ID to allow inserting back into the target text file. Then search and replace the first feature from #! VALUE:'' to #! VALUE:'ORACLE_9i' and then do the second value string. All possible because each line of the text file is read as 1 feature and in order from top to bottom.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.