 | NameHelperRemoveSpecialCharacters Method |
Framework to automate tests using Selenium WebDriver
Remove all special characters except digit and letters.
Namespace: Ocaramba.HelpersAssembly: OcarambaLite (in OcarambaLite.dll) Version: 4.2.2
Syntaxpublic static string RemoveSpecialCharacters(
string name
)
Request Example
Parameters
- name String
- The string to remove special chracters.
Return Value
StringString with removed all special chracters.
ExampleHow to use it:
var name = NameHelper.RemoveSpecialCharacters("country/region");
See Also