Strip HTML Tags From a String
6
An all in one function that formats a given file's Size from bytes to gB.
7
Have you ever tried to use Color.Blue.ToString and gotten undesired results?
Or have you ever tried to save a color to an INI and not be able to reproduce it the next time around?
The methods below will help you in your conquest of converting the Color structure to HTML (#FF0000) and back to a Color structure again.
Or have you ever tried to save a color to an INI and not be able to reproduce it the next time around?
The methods below will help you in your conquest of converting the Color structure to HTML (#FF0000) and back to a Color structure again.
9
Generates an 88 character secure hash string for the passed in strings.
5
Counting for loop in VB.NET. Looks easy because it is, but I saw one submitted for PHP.
2
This function loads an File into an String.
4
This function provides the reverse of a string. It is constructed using string builder because strings in .NET are immutable, while stringbuilders are not. Therefore large strings could be slow to reverse if a regular string was used for the working value that is returned.
3
This function returns a stack trace for an exception with all inner exceptions include unless the count of inner exceptions goes over 50. A stack overflow can occur if there is no upper limit for inner exceptions to read from.
Makes use of stringbuilder to build return string in order to yield higher performance.
Makes use of stringbuilder to build return string in order to yield higher performance.
5
Returns a string collection of IP addresses for a passed in domain name.
6
This snippet generates a secure hash string using VB.NET
5
MovingParts
One of best and unknown built in string function included in .NET is String.Split(). It has come in quite handy for my in the last 2 years that I thought I'd share. Pretty basic example here...and for my first post, I thought I'd throw in a little File IO (for free of course)! This was written in .NET 2.0 and it will take little to no modification to make it work in 1.0/1.1.









