close
Skip to main content

New answers tagged

Score of 0

How can you replace a character at a specific index in a line in vim?

:%s/\%2l\%8c./X Replaces exactly line 2 \%2l and column 8 \%8c intersection.
Score of 4

Replace element in array

foreach ($aCount as $key => $value) { $aProductsExploded[$key][1] = $value; } should do the trick to replace the values in your helper array $aProductsExploded. The whole thing could look ...

Top 50 recent answers are included