Click or drag to resize

NameHelperRemoveSpecialCharacters Method

Framework to automate tests using Selenium WebDriver
Remove all special characters except digit and letters.

Namespace: Ocaramba.Helpers
Assembly: OcarambaLite (in OcarambaLite.dll) Version: 4.2.2
Syntax
C#
public static string RemoveSpecialCharacters(
	string name
)
Request Example

Parameters

name  String
The string to remove special chracters.

Return Value

String
String with removed all special chracters.
Example
How to use it:
C#
var name = NameHelper.RemoveSpecialCharacters("country/region");
See Also