summaryrefslogtreecommitdiffhomepage
path: root/powershell.html.markdown
diff options
context:
space:
mode:
authorAndrew Ryan Davis <AndrewDavis1191@gmail.com>2020-08-16 14:42:49 -0700
committerAndrew Ryan Davis <AndrewDavis1191@gmail.com>2020-08-20 12:30:32 -0700
commit12c7b6cd59aa03f95f6745829b7e66a828c9dad4 (patch)
tree93c55f45c04ee5f3b4fdf1e328418420b35b04d2 /powershell.html.markdown
parent8df9aa061f3cd63f868ceb34bae2e4e8b53ed3af (diff)
Update powershell.html.markdown
Co-authored-by: 谭九鼎 <109224573@qq.com>
Diffstat (limited to 'powershell.html.markdown')
-rw-r--r--powershell.html.markdown2
1 files changed, 1 insertions, 1 deletions
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