I see it everywhere, people with blogs posting up ASP.NET/VB.NET code snippets. At work I'm always asked to create a quick function how to do something. Or someone will say, "how do I do this?" and I can't help myself but write out the code real quick. So I thought why not me? Why don't I start putting up my own code on my own blog? So here I am.
So my first piece of code is super simple, just strips out numeric characters from an alpha-numeric string. Now maybe there's already a built-in method in .Net that does this already, but .Net is so full of methods and namespaces and such that I don't know them all.
So here we begin a new blog theme.
Dim myString As String = StringOutNumbers("Something1234")
Note: If you wanted only to pull out the numbers you could just change line 9, from False to True.