Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved]Does function exists?
#1
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.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)