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.
Hope that helps.
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, 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.