Re: How do I truncate or remove a trailing character

2007-08-04 Thread perl pra
Hi Please try the following ___ BEGIN $value = "12345)" ; chop $value; print "$value"; ___ END On 8/2/07, Bret Goodfellow <[EMAIL PROTECTED]> wrote: > > Okay, I know this has to be simple, but because I am trying to truncate > or remove a special character

Re: How do I truncate or remove a trailing character

2007-08-02 Thread Paul Lalli
On Aug 2, 12:11 pm, [EMAIL PROTECTED] (Chas Owens) wrote: > On 8/1/07, Bret Goodfellow <[EMAIL PROTECTED]> wrote: > > > Okay, I know this has to be simple, but because I am trying to truncate > > or remove a special character I've run into a roadblock. Here's what I > > want to do. > > > $value =

Re: How do I truncate or remove a trailing character

2007-08-02 Thread Chas Owens
On 8/1/07, Bret Goodfellow <[EMAIL PROTECTED]> wrote: > Okay, I know this has to be simple, but because I am trying to truncate > or remove a special character I've run into a roadblock. Here's what I > want to do. > > $value = "12345)" ; > > How do I change $value so that the trailing ")" is remo

Re: How do I truncate or remove a trailing character

2007-08-01 Thread John W. Krahn
Bret Goodfellow wrote: Okay, I know this has to be simple, but because I am trying to truncate or remove a special character I've run into a roadblock. Here's what I want to do. $value = "12345)" ; How do I change $value so that the trailing ")" is removed. In otherwords with the given e

Re: How do I truncate or remove a trailing character

2007-08-01 Thread Rob Dixon
Wagner, David --- Senior Programmer Analyst --- WGO wrote: From: Bret Goodfellow [mailto:[EMAIL PROTECTED] Okay, I know this has to be simple, but because I am trying to truncate or remove a special character I've run into a roadblock. Here's what I want to do. $value = "12345)" ; How do

RE: How do I truncate or remove a trailing character

2007-08-01 Thread Wagner, David --- Senior Programmer Analyst --- WGO
> -Original Message- > From: Bret Goodfellow [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 01, 2007 14:25 > To: beginners@perl.org > Subject: How do I truncate or remove a trailing character > > Okay, I know this has to be simple, but because I am trying >

How do I truncate or remove a trailing character

2007-08-01 Thread Bret Goodfellow
Okay, I know this has to be simple, but because I am trying to truncate or remove a special character I've run into a roadblock. Here's what I want to do. $value = "12345)" ; How do I change $value so that the trailing ")" is removed. In otherwords with the given example, how do I manipulat