Sujet : Remove new line char
De : alexandru.dadalau (at) *nospam* meshparts.de (alexandru)
Groupes : comp.lang.tclDate : 19. Mar 2025, 12:47:55
Autres entêtes
Organisation : novaBBS
Message-ID : <99c3a67de883d847a088f8158aea9998@www.novabbs.com>
User-Agent : Rocksolid Light
I'm accessing the Windows clipboard using twapi.
When the text in the clipboard was copied from an MS Excel cell, then
text contains some new line char that I could not identify and thus
unable to remove it using
regsub {[\r\n]+$} $text ""
What other way are there besides "string trim" to remove new line chars?
Many thanks
Alexandru
--