Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
1
Task/Character-codes/PowerShell/character-codes-1.ps1
Normal file
1
Task/Character-codes/PowerShell/character-codes-1.ps1
Normal file
|
|
@ -0,0 +1 @@
|
|||
$char = [convert]::toChar(0x2f) #=> /
|
||||
1
Task/Character-codes/PowerShell/character-codes-2.ps1
Normal file
1
Task/Character-codes/PowerShell/character-codes-2.ps1
Normal file
|
|
@ -0,0 +1 @@
|
|||
$char = [char] 'a'
|
||||
1
Task/Character-codes/PowerShell/character-codes-3.ps1
Normal file
1
Task/Character-codes/PowerShell/character-codes-3.ps1
Normal file
|
|
@ -0,0 +1 @@
|
|||
$charcode = [int] $char # => 97
|
||||
1
Task/Character-codes/PowerShell/character-codes-4.ps1
Normal file
1
Task/Character-codes/PowerShell/character-codes-4.ps1
Normal file
|
|
@ -0,0 +1 @@
|
|||
[int] [char] '☺' # => 9786
|
||||
2
Task/Character-codes/PowerShell/character-codes-5.ps1
Normal file
2
Task/Character-codes/PowerShell/character-codes-5.ps1
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
[char] 97 # a
|
||||
[char] 9786 # ☺
|
||||
Loading…
Add table
Add a link
Reference in a new issue