There are three potential levels of 'blankness' that you should be checking for.
Update Thanks to merlyn for pointing out the error in the second bullet point - which I've now corrected.
--
"Perl makes the fun jobs fun
and the boring jobs bearable" - me
In reply to Re: What is the best way to determine if a string is blank?
by davorg
in thread What is the best way to determine if a string is blank?
by fongsaiyuk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |