The original sample had this as the desired results. ',0.022,,0.022,'
A comma's between blank and filled fields, and I assumed commas between filled fields, but if you had multiple blanks in a row, no comma's between them. That's what I built my regex to do at least.
On Tue, 2020-01-14 at 14:56 -0600, Vernon Hamberg wrote:
Ah how we love clear specifications!
Somewhere in the thread, Michael said, in effect, that he wanted to
replace each blank value with a comma - so the triple-comma value is the
desired result.
At least that's what I kind of remember!
Cheers
Vern
On 1/14/2020 2:41 PM, Jon Paris wrote:
Right - so 12345 blank blank blank 23456 will result in 12345,,,23456
But that is not what the OP wanted I believe - he wanted the result to be 12345,23456 i.e. no matter how many blank fields only one comma.
Which is why I responded as I did to Vern
[
https://www.medtronsoftware.com/img/MedtronMinilogo.bmp] Kevin Bucknum
Senior Programmer Analyst
MEDDATA / MEDTRON
120 Innwood Drive
Covington LA 70433
Local: 985-893-2550
Toll Free: 877-893-2550
https://www.medtronsoftware.com
CONFIDENTIALITY NOTICE
This document and any accompanying this email transmission contain confidential information, belonging to the sender that is legally privileged. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, or the employee of agent responsible to deliver it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or action taken in reliance on the contents of these documents is STRICTLY PROHIBITED. If you have received this email in error, please notify the sender immediately to arrange for return or destruction of these documents.
As an Amazon Associate we earn from qualifying purchases.