Hi. Need some help with 'String Replace' Function. Can anyone help me with this, please:
I'm trying to code a "String Replace" function using an Input-Object and Text-File. I've managed to successfully pass a string from one Text-File to another Text-File, but I want to pass the string from an Input-Object to a TextFile instead. But I can't get it to work.
If anyone thinks they can help out with this, I've attached two Project-Files to demonstrate what I'm trying to do.
NB.
The first Project-File shows where I successfully passed a string from one Text-File to another Text-File (The Text-Files get dropped into the project's CD_Root Folder).
The second Project-File doesn't work, but shows what I'm trying to do (ie. pass a string from the Input-Object to a Text-File that will be generated in the CD_Root Folder). Perhaps, if anyone can figure out a solution, they could could correctly code this second Project-File as an example, and re-attach it with their response.
Thanks.
I'm trying to code a "String Replace" function using an Input-Object and Text-File. I've managed to successfully pass a string from one Text-File to another Text-File, but I want to pass the string from an Input-Object to a TextFile instead. But I can't get it to work.
If anyone thinks they can help out with this, I've attached two Project-Files to demonstrate what I'm trying to do.
NB.
The first Project-File shows where I successfully passed a string from one Text-File to another Text-File (The Text-Files get dropped into the project's CD_Root Folder).
The second Project-File doesn't work, but shows what I'm trying to do (ie. pass a string from the Input-Object to a Text-File that will be generated in the CD_Root Folder). Perhaps, if anyone can figure out a solution, they could could correctly code this second Project-File as an example, and re-attach it with their response.
Thanks.
Comment