Sujet : Re: Remove new line char
De : alexandru.dadalau (at) *nospam* meshparts.de (alexandru)
Groupes : comp.lang.tclDate : 20. Mar 2025, 10:25:40
Autres entêtes
Organisation : novaBBS
Message-ID : <a05c715cb7e43cf8f283b0181a788e6f@www.novabbs.com>
References : 1 2 3 4
User-Agent : Rocksolid Light
On Wed, 19 Mar 2025 20:47:00 +0000, Rich wrote:
Harold suggested:
>
string map "\n {} \r {}" $text
>
This deletes every occurrence of \n and every occurrence of \r,
anywhere in the string.
>
Which is very different.
Of course, in general.
In my case it does the same, since there is only one new line char at
the end.
--