Literal "" versus vbNullString
Posted on 2001-06-03
Is it true that vbNullString is better than literal "" while:
txtCustName.Text = ""
Use vbNullString is a special constant, available in VB4 later, that saves memory and speeds up the assignment.
If the statement is a comparison, use LenB() instead of literal "" like:
If LenB(txtCustName.Text) = 0 Then
I am using a piece of software named: Project Analyzer
and i want to know that whether it is true.
If it is true, i will take an action to adopt the above standards in our R&D team. As now it is still in an earily stage and nothing gonna to be mese yet.
Any comments or suggestions?