StringUtils.IsAlphanumeric method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Strings
Assembly Skybrud.Essentials.dll

IsAlphanumeric(string)

Static

Gets whether the specified string is alphanumeric - meaning it only consists of numbers and letters.

public static bool IsAlphanumeric(string str)

Parameters

str String

The string to validate.

Returns

true if str is alphanumeric; otherwise false.