Posted by ZeldorBlat on 05/11/07 03:17
On May 10, 10:32 pm, Man-wai Chang <toylet.toy...@gmail.com> wrote:
> How could I check whether a string variable contains nothing but space?
> empty() does not work unless the string variable is "".
>
> --
> iTech Consulting Services Limited
> Expert in ePOS (Point-Of-Sales) solutions
> Website:http://www.itech.com.hk(IE only)
> Tel: (852)2325 3883 Fax: (852)2325 8288
!strlen(trim($someString))
[Back to original message]
|