4
How do I delete a certain character in a certain shell position?
I’ve tried with sed
, but I can’t get into position either, just the pattern.
",45123","B23142DHAS675"
What I wanted was to erase the ,
which is in the second position of the string, but in case there is no ,
nothing should do.
Actually I would like the result to be: "45123","B23142DHAS675" - only to delete the "," which is in second position.
– Felipe Carlo
Perfect, @DBX8! Thanks!
– Felipe Carlo