Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Harald Oehlmann Newsgroups: comp.lang.tcl Subject: Re: Remove new line char Date: Thu, 20 Mar 2025 11:22:54 +0100 Organization: A noiseless patient Spider Lines: 20 Message-ID: References: <99c3a67de883d847a088f8158aea9998@www.novabbs.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Thu, 20 Mar 2025 11:22:54 +0100 (CET) Injection-Info: dont-email.me; posting-host="66a953c4a189ed9a8224c680d8ed23c9"; logging-data="2894729"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19RPWphc66+KK4HOCkfMguf" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:c83mIzP6TLoGdoFyA8mMk4rMl9E= Content-Language: en-GB In-Reply-To: Bytes: 1568 Hi Alexandru, please allow me to share this wish 8.6.14 32 bit session: Excel 2013 with a cell with the content "AÄ". AÄ % clipboard get AÄ % lmap i [split $c ""] {scan $i %c} 65 196 10 % string trimright $c "\x0a" AÄ % So, "string trimright \x0a" does the job for me. Take care, Harald