RE: [PHP] How can I remove the last character from a one line file?

2002-05-30 Thread Rea_David
file? That worked a dream, Thanks Ed! Dave -Original Message- From: Ed Gorski [mailto:[EMAIL PROTECTED]] Sent: 28 May 2002 14:41 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] How can I remove the last character from a one line file? Try: $string=Jacko; $string=substr

RE: [PHP] How can I remove the last character from a one line file?

2002-05-30 Thread Niklas Lampén
eregi_replace(o$, , $String); Niklas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 30. toukokuuta 2002 13:05 To: [EMAIL PROTECTED] Subject: RE: [PHP] How can I remove the last character from a one line file? Hi all, The problem is nearly

RE: [PHP] How can I remove the last character from a one line file?

2002-05-30 Thread James Holden
$contents; } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 30 May 2002 11:05 To: [EMAIL PROTECTED] Subject: RE: [PHP] How can I remove the last character from a one line file? Hi all, The problem is nearly solved. I need my if statement

Re: [PHP] How can I remove the last character from a one line file?

2002-05-28 Thread Ed Gorski
Try: $string=Jacko; $string=substr($string,0,(strlen($string)-1)); echo $string; ed At 09:35 AM 5/28/2002 -0400, [EMAIL PROTECTED] wrote: Hi all, How can I remove the last character from a one line file? i.e. I need to change Jacko to Jack I would really appreciate a

RE: [PHP] How can I remove the last character from a one line file?

2002-05-28 Thread Scott Hurring
To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] How can I remove the last character from a one line file? Try: $string=Jacko; $string=substr($string,0,(strlen($string)-1)); echo $string; ed At 09:35 AM 5/28/2002 -0400, [EMAIL PROTECTED] wrote: Hi all, How can I

RE: [PHP] How can I remove the last character from a one line file?

2002-05-28 Thread Rasmus Lerdorf
-1515 -Original Message- From: Ed Gorski [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 28, 2002 9:41 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] How can I remove the last character from a one line file? Try: $string=Jacko; $string=substr($string,0

RE: [PHP] How can I remove the last character from a one line file?

2002-05-28 Thread Kevin Porter
:41 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] How can I remove the last character from a one line file? Try: $string=Jacko; $string=substr($string,0,(strlen($string)-1)); echo $string; ed At 09:35 AM 5/28/2002 -0400, [EMAIL PROTECTED] wrote: Hi all