Char.IsSeparator Method (Char)

 

Indicates whether the specified Unicode character is categorized as a separator character.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

static member IsSeparator : 
        c:char -> bool

Parameters

c
Type: System.Char

The Unicode character to evaluate.

Return Value

Type: System.Boolean

true if c is a separator character; otherwise, false.

The Unicode standard recognizes three subcategories of separators:

System_CAPS_noteNote

The Unicode standard classifies the characters \u000A (LF), \u000C (FF), and \u000D (CR) as control characters (members of the UnicodeCategory.Control category), not as separator characters.

The following example lists the Char objects that are classified as separator characters.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: