Ciao guys,
yes, it's me again... I got a two, kind of lame questions...
1) What is the best way, how to determine if string is empty?
PHP Code:
// is empty option 1
if (StrEqual(sMyString, ""))
// is empty option 2
if (strlen(sMyString) == 0)
// is empty option 3
if (sMyString[0] == EOS)
2) And how to make string empty properly?
PHP Code:
// make empty option 1
strcopy(sMyString, sizeof(sMyString), "");
// make empty option 2
sMyString[0] = EOS;