Glenn,

what if $uid = "01234" ?

even more golf here:

$IsNum = IIF($_ = 0+$_, 1, 0)
_________________________