From 12c7b6cd59aa03f95f6745829b7e66a828c9dad4 Mon Sep 17 00:00:00 2001 From: Andrew Ryan Davis Date: Sun, 16 Aug 2020 14:42:49 -0700 Subject: [PATCH] Update powershell.html.markdown MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 谭九鼎 <109224573@qq.com> --- powershell.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powershell.html.markdown b/powershell.html.markdown index 2777820a..3de8d07e 100644 --- a/powershell.html.markdown +++ b/powershell.html.markdown @@ -143,7 +143,7 @@ $b -is $a.GetType() # => False, a and b types not equal $name = "Steve" $age = 22 "He said his name is $name." # => "He said his name is Steve" -“{0} said he is {1} years old.” -f $name, $age # => "Steve said he is 22 years old" +"{0} said he is {1} years old." -f $name, $age # => "Steve said he is 22 years old" "$name's name is $($name.Length) characters long." # => "Steve's name is 5 characters long." # $null is not an object