<cr>

Volker Kuhlmann list0570 at paradise.net.nz
Sun Apr 20 01:07:34 CEST 2008


On Sat 12 Apr 2008 05:38:13 NZST +1200, Joerg Fischer wrote:

> Yes, there is. Replace Ctrl+V with the following macro
> 
>  txt = replace_in_string(clipboard_to_string(), "\r", "", "copy")

This looks like it will replace all \r, which is probably not what was
wanted in all cases. More likely what's wanted is to remove \r only if
they are part of end-of-line.

Replace the "\r" with "\r$" ?

Volker

-- 
Volker Kuhlmann			is list0570 with the domain in header
http://volker.dnsalias.net/	Please do not CC list postings to me.


More information about the Discuss mailing list