Site icon Ryadel

Strip out numeric or non-numeric characters in string with ASP.NET C#

How to handle multipage TIFF files with ASP.NET C# (GDI+ alternative)

If you're working with ASP.NET C# and you're looking for something that could strip out numeric or non-numeric characters from a string, you might find these helper methods useful enough.

I wrote these methods to give an additional answer to this StackOverflow question, mostly because the accepted one didn't handle null values: the behaviour of each one of them is well-documented within the <summary>  text, hence there's nothing to explain here.

If you like them, feel free to leave a comment!

 

Exit mobile version