Hi,
I'm new to working with Java and I'm wondering how do I check if a value (attlist) is empty.
I know how to check if it's equal to 'null'... i.e...
if(attList==null)
but I need to check if it's null OR empty and don't know the syntax for this. Is it something like...
if(attList==null || attList==""
Thanks for the help in advance.
I'm new to working with Java and I'm wondering how do I check if a value (attlist) is empty.
I know how to check if it's equal to 'null'... i.e...
if(attList==null)
but I need to check if it's null OR empty and don't know the syntax for this. Is it something like...
if(attList==null || attList==""
Thanks for the help in advance.