Horje
c# string remove special characters Code Example
c# string remove special characters
public static string RemoveSpecialCharacters(this string str) {
   StringBuilder sb = new StringBuilder();
   foreach (char c in str) {
      if ((c >= '0' && c <= '9') || (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z') || c == '.' || c == '_') {
         sb.Append(c);
      }
   }
   return sb.ToString();
}




Csharp

Related
make a list c# Code Example make a list c# Code Example
unity don't destroy on load Code Example unity don't destroy on load Code Example
c# clamp Code Example c# clamp Code Example
reverse string c# Code Example reverse string c# Code Example
remove comma from string c# Code Example remove comma from string c# Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8