Skip to content
Advertisement

Tag: ed

Replace characters on specific location every line

We got an exercise where we have to do certain things with the following text document: It’s all data seperated by a “|”. For this exercise, if the year of the first ascent is empty, I need to replace the “||” with “|unclimbed|” I can’t do it like this: Because that would replace other empty fields. So my question is,

Advertisement