StringExtensions..::..IsPunctuation Method

Determines whether the specified index is punctuation.

Namespace:  MichaelBrandonMorris.Extensions.PrimitiveExtensions
Assembly:  MichaelBrandonMorris.Extensions.PrimitiveExtensions (in MichaelBrandonMorris.Extensions.PrimitiveExtensions.dll)

Syntax


public static bool IsPunctuation(
	string s,
	int index
)
Public Shared Function IsPunctuation ( _
	s As String, _
	index As Integer _
) As Boolean
public:
static bool^ IsPunctuation(
	String^ s, 
	int^ index
)

Parameters

s
Type: String
The s.
index
Type: Int32
The index.

Return Value

true if the specified index is punctuation; otherwise, false.