Skip to content

Instantly share code, notes, and snippets.

View pewdee's full-sized avatar

Pewdee pewdee

  • Brazil
View GitHub Profile
@pewdee
pewdee / System.StringExtensions.cs
Last active June 7, 2018 19:43
String util extensions
using System.Text;
namespace System
{
public static class StringExtensions
{
public static string RemoveSpecialChars(this string value)
{
byte[] bytes = Encoding.GetEncoding("Cyrillic").GetBytes(value);