Tagged Questions
2
votes
1answer
336 views
How can I get rid of SELECT…CASE and GOTO in this string formatting helper function?
A while ago I implemented .net's string.Format() method in VB6; it works amazingly well, but I'm sure there has to be a way to make it more efficient.
I'll start ...
3
votes
1answer
117 views
A more readable InStr: StringContains
Consider the following:
If myString = "abc" Or myString = "def" [...] Or myString = "xyz" Then
In C# when myString == "abc" ...