(Char) Char
Char. , , .
, 1. :
Dim s As String = ""
Dim c As Char = ""
.
Char. System Char, . 14.3.1. :
Dim As Char = ""
Debug.WriteLine(" 렠 " & )
Debug.WriteLine(" ? " & Char.IsDigit())
Debug.WriteLine(" ? " & Char.IsLetter())
Debug.WriteLine(" , ? " & Char.IsLetterOrDigit())
Debug.WriteLine(" ? " & Char.IsLower())
Debug.WriteLine(" ? " & Char.IsUpper())
Debug.WriteLine(" ? " & Char.IsPunctuation())
Debug.WriteLine(" ? " & Char.IsSeparator())
Debug.WriteLine(" " & Char.ToLower())
Debug.WriteLine(" " & Char.ToUpper())
:
렠
? False
? True
, ? True
? False
? True
? False
? False
Unicode . Char 2 , Windows 65536 . Unicode. 0 65535. Unicode AscW Strings. ChrW :
|
|
|
AscW ("") |
1064 |
1064 |
ChrW (1064) |
|
1064 |
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
Dim As Long
Dim As Char
For = 0 To 1200
= ChrW()
Debug.Write()
If Mod 64 = 0 Then Debug.WriteLine("")
Next
End Sub
, :
!"#$%&'()*+,-./0123456789:;<=>?@
ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz
{|}~¡¢£¥¨ª¯²³´¸¹º¼½¾¿À
ÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿA
????????????????????????????????????????????????????????????????
????????????????????????????????????????????????????????????????
?
?
, , , . . 1200- , , , , :
? ? ? ? ? ?????????? ? ? ? ? ? ? ? ? ? ?
???????????????????? ?????????????????????????????????
?OO0???+?>?????????????????????????????
?????????????????????????????????????????
????????????? ??????dd????
ASCII . Char 1 , 256. ASCII-. , 128 255 . - ASCII-. . ASCII- Asc Strings. Chr :
|
|
|
Asc ("") |
219 |
219 |
Chr (219) |
|
219 |
Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click
Dim As Long
For = 32 To 255
Debug.Write(Chr())
Next
End Sub
:
!"#$%&'()*+,-./0123456789:;<=>?@
ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz
{|}~
, () , Unicode .