print substr($num, 0, 1);
See substr
In reply to Re: How to extract the first elemnet from an integer type value ???
by b10m
in thread How to extract the first elemnet from an integer type value ???
by sanjay nayak
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |