Is
there a clever way to replace a single element in an array with another value? E.g. x =
array[‘a’,’b’,’c’,’d’]; I
want to replace ‘b’ with ‘x’. Thanks
for any suggestions! |
Is
there a clever way to replace a single element in an array with another value? E.g. x =
array[‘a’,’b’,’c’,’d’]; I
want to replace ‘b’ with ‘x’. Thanks
for any suggestions! |