07-16-2009, 08:45 PM
Hi,
i want to test if a string is empty and do something upon result.
is there a function like in C++
(empty(s))?action1:action2
or is it only possible to do a sel function?
int i=empty(s)
sel i
case 1
action1
case 2
action2
or another simpler way?
Thanks.
i want to test if a string is empty and do something upon result.
is there a function like in C++
(empty(s))?action1:action2
or is it only possible to do a sel function?
int i=empty(s)
sel i
case 1
action1
case 2
action2
or another simpler way?
Thanks.