jlego 15 Posting Pro

in vb6 the most efficient/fast way to test if a variable/object was empty was to use

if lenb(x) = 0 then

instead of using if x = ""

in .net len(x) works, but is there a more efficient way?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.