From a SQL query (Postgres DB) the following line output is captured in a string:
id | title | cur_status_time
I am trying to replace the pipe character into something else.
$line -replace "|",";"
but this is not working.
I tried:
$line.replace("|",";")
but its not working, either.