Method RemoveNonAlphas
RemoveNonAlphas(String)
Removes all characters that are not (latin) alphabet characters (A-Z, a-z).
Declaration
public static string RemoveNonAlphas(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 characters.