|
Posted by Rik on 05/08/06 22:12
Brian wrote:
> Hi there
>
> This is probable really easy but I can't find the answer, I want to
> know what the first character is in a string
>
> e.g. string =ABC1234 and i want to return 'A'
substr($string,0,1);
Grtz,
--
Rik Wasmus
Navigation:
[Reply to this message]
|