Forum Discussion
tanulbhasin
Apr 12, 2023Brass Contributor
Carriage return is working properly in powershell
Hello, How to parse this string properly in powershell. Replace("\r\n","`r`n") is not working properly. "\r\n ___ ______ _ _ _\r\n / _ \\ ...
- Apr 12, 2023
Any of them is working:
- $a.Replace('\r\n', "`r`n").Replace('\\','\')
- """$a"""|ConvertFrom-Json
tanulbhasin
Apr 12, 2023Brass Contributor
Any of them is working:
- $a.Replace('\r\n', "`r`n").Replace('\\','\')
- """$a"""|ConvertFrom-Json