Strings In Depth5 / 16
Up next

Replace method

$s = "foo-bar-baz"
# .Replace swaps a literal substring
Write-Output $s.Replace("-", "_")
What you're solving

literal string replacement