Edit

Share via


StringExtensions.IsCharacterString(String) Method

Definition

Determines whether a string contains only letters.

public static bool IsCharacterString (this string str);
static member IsCharacterString : string -> bool
<Extension()>
Public Function IsCharacterString (str As String) As Boolean

Parameters

str
String

The string to test.

Returns

true if the string contains only letters; otherwise, false.

Applies to