$mystring = substr($mystring,0,-3);
> - Original Message -
> From: "Renaldo De Silva" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Thursday, February 07, 2002 8:56 PM
> Subject: [PHP-DB] Need to delete charcters from a string
>
>
>> I need to delete the las
This works thanks a lot.
Jeroen Timmers wrote:
> you can take the function substr from php in combination with strlen
> (lenght of a string)
>
> example
>
> $string = "1234567890";
> $rest = substr($string, 0, strlen($string)-3); // returns "1234567"
>
> Success Jeroen Timmers
>
>
> - O