strings
`n
and`r
are the character literals for newline and carriage return
Common Command Examples
Using string Replace method to remove substring from string
❯ $url = "http://www.google.com".Replace("http://www.", "") ❯ $url google.com
powershell:qnd:strings
`n
and `r
are the character literals for newline and carriage return❯ $url = "http://www.google.com".Replace("http://www.", "") ❯ $url google.com