Char: IsPunctuation, IsSeparator, IsSymbol, IsUpper, IsWhiteSpace : Char Function « Data Type « VB.Net Tutorial

VB.Net Tutorial
1. Language Basics
2. Data Type
3. Operator
4. Statements
5. Date Time
6. Class Module
7. Development
8. Collections
9. Generics
10. Attributes
11. Event
12. Stream File
13. GUI
14. GUI Applications
15. 2D Graphics
16. I18N Internationlization
17. Reflection
18. Regular Expressions
19. Security
20. Socket Network
21. Thread
22. Windows
23. XML
24. Database ADO.net
25. Design Patterns
Microsoft Office Word 2007 Tutorial
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial » Data Type » Char Function 
2. 12. 3. Char: IsPunctuation, IsSeparator, IsSymbol, IsUpper, IsWhiteSpace
 
 
Public Class Tester
    Public Shared Sub Main
        Dim result As New System.Text.StringBuilder
        Dim counter As Integer
        Dim testChar As Char
        Dim testHex As String

        For counter = To 127
            testChar = Chr(counter)
            testHex = "\x" & Hex(counter)

            If Char.IsPunctuation(testCharThen _
               result.AppendLine(testHex & "   IsPunctuation")
            If Char.IsSeparator(testCharThen _
               result.AppendLine(testHex & "   IsSeparator")
            If Char.IsSymbol(testCharThen _
               result.AppendLine(testHex & "   IsSymbol")
            If Char.IsUpper(testCharThen _
               result.AppendLine(testHex & "   IsUpper")
            If Char.IsWhiteSpace(testCharThen _
               result.AppendLine(testHex & "   IsWhiteSpace")

        Next counter
        Console.WriteLine(result)
    End Sub

End Class

        
  
  




\x9   IsWhiteSpace
\xA   IsWhiteSpace
\xB   IsWhiteSpace
\xC   IsWhiteSpace
\xD   IsWhiteSpace
\x20   IsSeparator
\x20   IsWhiteSpace
\x21   IsPunctuation
\x22   IsPunctuation
\x23   IsPunctuation
\x24   IsSymbol
\x25   IsPunctuation
\x26   IsPunctuation
\x27   IsPunctuation
\x28   IsPunctuation
\x29   IsPunctuation
\x2A   IsPunctuation
\x2B   IsSymbol
\x2C   IsPunctuation
\x2D   IsPunctuation
\x2E   IsPunctuation
\x2F   IsPunctuation
\x3A   IsPunctuation
\x3B   IsPunctuation
\x3C   IsSymbol
\x3D   IsSymbol
\x3E   IsSymbol
\x3F   IsPunctuation
\x40   IsPunctuation
\x41   IsUpper
\x42   IsUpper
\x43   IsUpper
\x44   IsUpper
\x45   IsUpper
\x46   IsUpper
\x47   IsUpper
\x48   IsUpper
\x49   IsUpper
\x4A   IsUpper
\x4B   IsUpper
\x4C   IsUpper
\x4D   IsUpper
\x4E   IsUpper
\x4F   IsUpper
\x50   IsUpper
\x51   IsUpper
\x52   IsUpper
\x53   IsUpper
\x54   IsUpper
\x55   IsUpper
\x56   IsUpper
\x57   IsUpper
\x58   IsUpper
\x59   IsUpper
\x5A   IsUpper
\x5B   IsPunctuation
\x5C   IsPunctuation
\x5D   IsPunctuation
\x5E   IsSymbol
\x5F   IsPunctuation
\x60   IsSymbol
\x7B   IsPunctuation
\x7C   IsSymbol
\x7D   IsPunctuation
\x7E   IsSymbol


 
2. 12. Char Function
2. 12. 1. Passing Char values to Val
2. 12. 2. Char: IsLetter, IsControl, IsDigit, IsLetterOrDigit, IsLower, IsNumber
2. 12. 3. Char: IsPunctuation, IsSeparator, IsSymbol, IsUpper, IsWhiteSpace
2. 12. 4. Char.IsDigit
2. 12. 5. Remove white space in a string
2. 12. 6. Char.ToUpper
2. 12. 7. ChrW
w_w___w___._j_a__va_2s___._c_o__m | Contact Us
Copyright 2003 - 08 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.