in reply to Removing 1 Charcter From String
If you want to get rid of the first instance:
$string =~ s/#//;
If you want to get rid of a single instance somewhere else in the string - you will have to provide more information.
Cheers - L~R
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Removing 1 Charcter From String
by BazB (Priest) on May 26, 2003 at 21:23 UTC | |
|
Re: Re: Removing 1 Charcter From String
by crackotter (Beadle) on May 26, 2003 at 21:56 UTC |