VB6 equivalent of string.IsNullOrEmpty

VB6 was designed to be easy

Use

If str = "" Then 
  ' uninitialised, null or empty ""
  • Strings are automatically initialized to [edit] a null string.
  • The null string is vbNullString.
  • But don’t worry about null strings. A VB6 null string is indistinguishable from an empty string “” for (almost) any string manipulation.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)