Char.IsSeparator : Char « System « C# / C Sharp by API






Char.IsSeparator

 


using System;  
  
class MainClass {     
  public static void Main() {     
    string str = "This is a test. $23"; 
    int i; 
 
    for(i=0; i < str.Length; i++) { 
      Console.Write(str[i] + " is"); 
      if(Char.IsSeparator(str[i])) 
        Console.Write(" separator"); 
 
      Console.WriteLine(); 
    } 
 
  }     
}

   
  








Related examples in the same category

1.Char.IsControl
2.Char.IsDigit
3.Char.IsLetter
4.Char.IsLower
5.Char.IsPunctuation
6.Char.IsSymbol
7.Char.IsUpper
8.Char.IsWhiteSpace
9.Char.MaxValue
10.Char.MinValue
11.Char.Parse(String value)
12.Char.ToUpper