New answers tagged replace
Score of 0
0
votes
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
4
votes
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
Related Tags
replace × 31654regex × 6941
string × 6566
python × 4705
javascript × 4273
php × 3883
r × 1802
java × 1759
jquery × 1620
c# × 1464
pandas × 1375
html × 1203
sed × 1129
dataframe × 1037
arrays × 1036
sql × 1017
find × 998
mysql × 864
search × 778
bash × 766
text × 747
powershell × 719
python-3.x × 667
list × 662
excel × 653