Method RemoveNonAlphanumerics
RemoveNonAlphanumerics(String)
Removes all characters that are not (latin) alphabet characters (A-Z, a-z) or numerics (0-9).
Declaration
public static string RemoveNonAlphanumerics(this string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The string to remove characters from. |
Returns
Type | Description |
---|---|
System.String | Either the original string if no changes were made, or else |
Remarks
Returns the original value
if it is null, empty string, or does not contain any non-latin alphabet or numeric characters.