[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [StrongED] Regular Search and Replace on a key?
- To: stronged@xxxxxxxxxxxxxx
- Subject: Re: [StrongED] Regular Search and Replace on a key?
- From: Tony Moore <old_coaster@xxxxxxxxxxx>
- Date: Sat, 30 Jan 2010 09:53:23 GMT
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Subject:Message-ID:References:In-Reply-To:User-Agent:MIME-Version:Content-Type; b=wk+yRwqZ5H7n6ZVnDXUfY5290RU80KZ+0U1DzjOImugERvOJcADz2Mcj7ChOPA82L6Zq0XU1N8+aJ5iiLzJzdC+Fs+/ft8oE+xyLr5kVMHvssmh5myvgNXejKFVmNRDhDyzQ2sdmhllLkjCZ65qHisGIhPeA/o85H1nB+ar8pws= ;
- Envelope-to: stronged@xxxxxxxxxxxxxx
- In-reply-to: <50e1531249barry@e-allen.me.uk>
- List-id: RISC OS StrongED mailing list
- References: <50e1531249barry@e-allen.me.uk>
- Reply-to: StrongED@xxxxxxxxxxxxxx
- User-agent: Messenger-Pro/5.13 (MsgServe/3.43) (RISC-OS/6.20)
On 29 Jan 2010, Barry E Allen <barry@xxxxxxxxxxxxx> wrote:
> I regularly wish to turn a 'TAB' separated document into a Comma
> Separated Value document. I do this by searching for a TAB (/t) and
> replacing with a comma (",").
But, in general, that will not work if one or more of the data fields
already contains a comma. It would be safer to replace each tab with ","
(ie three characters), then add " to the start, and end, of each line.
Tony
--
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxxxxx