Empty string: Difference between revisions

Line 2,569:
dim s as string
 
' assign an empty string to a variable (six bytes):
s = ""
' assign null string pointer to a variable (zero bytes, according to RubberduckVBA):
s = vbNullString
' if your VBA code interacts with non-VBA code, this difference may become significant!
 
' test if a string is empty:
Anonymous user