|
Posted by alex.kemsley on 12/03/06 16:54
naixn wrote:
> alex.kemsley wrote :
> > Hi Guys,
> >
> > Just a quick question
> > I have a string that I want to cut the last 5 characters off.
> > How do I go about this.
> >
> > Many thanks
> >
> > Alex Kemsley
> >
>
> $text = substr($text, 0, -5);
>
> Here you are :)
>
> --
> Naixn
> http://fma-fr.net
Many thanks, Works perfect.
Alex
Navigation:
[Reply to this message]
|