Re: how to replace multiple whit space with ", ".
- From: krahnj@xxxxxxxxx (John W. Krahn)
- Date: Tue, 30 Aug 2005 17:18:14 -0700
Bernard van de Koppel wrote:
> Hi,
Hello,
> How can I replace multiple white space with ", " (comma space).
>
> "this is a space"
>
> should be changed to
> "this, is a, space"
s/ +/, /g
John
--
use Perl;
program
fulfillment
.
- References:
- how to replace multiple whit space with ", ".
- From: Bernard van de Koppel
- how to replace multiple whit space with ", ".
- Prev by Date: Re: Escaping with tr
- Next by Date: Re: Escaping with tr
- Previous by thread: how to replace multiple whit space with ", ".
- Next by thread: Re: how to replace multiple whit space with ", ".
- Index(es):
Relevant Pages
|