Which is the faster way to check whether or not a string is empty, or ? The commonly held view is that it is the latter, but, after a heated debate today on the subject of optimization, I decided to test it for myself. The result? Almost no difference at all, in fact, I had to run the test thousands of times to even see a difference. Here is the code I used: Run it for yourself. In my tests they were about the same, Len() was usually slightly quicker, but almost insignificantly so. And it took 100,000 iterations to see results worthy of graphing. In other words, there are about the same so use whichever you prefer.