06-15-2020 10:59 AM
I'm trying to search and replace a line of string in a multi-line string. I don't understand the explanation of regular expressions in the help and how to use the caret and dollar sign. I am trying to replace the line "Solenoid Voltage" with either "Solenoid Voltage A" or "Solenoid Voltage B" programmatically. Any help would be greatly appreciated.
LV 2016
Solved! Go to Solution.
06-15-2020 11:04 AM
Maybe too obvious, but your spelling of "Solenoid" in the search string needs to match the spelling in the multi-line string.
PsyenceFact
06-15-2020 11:24 AM
Sometimes it's the most obvious things that escape me!
Thank you
06-16-2020 09:13 AM
@do-loop wrote:
Sometimes it's the most obvious things that escape me!
Thank you
That happens to everyone. You come to the forums to get more eyes on the code so someone can spot what you cannot. The forum did it's job. 🙂