NULL string comparison

 
I have this code in my EA:

while (entry_stats_name[j] != NULL) {
...
...
}



Where entry_stats_name[] is typed as a string. When I try to compile this I get this error msg:

'!=' - different types in comparison

How can I check if a string is empty or not?

 
NULL is just macro for integer digit 0

string null_string;   // note that this string is uninitialized 

while (entry_stats_name[j] != null_string) {
...
...
}
Reason: