powershell:qnd:strings

This is an old revision of the document!


strings

  • `n and `r are the character literals for newline and carriage return

Using string Replace method to remove substring from string

$url = "http://www.google.com".Replace("http://www.", "")$url
google.com
  • powershell/qnd/strings.1655402473.txt.gz
  • Last modified: 2022/06/16 18:01
  • by mgupton