Add text to same line using sed

Solution 1:

This worked:

sed -i "s/$node_number/&mytext/" "filepath.csv";