I want to be able to replace any array value specified by user input with a replacement value also specified by user input. How do you compare the keyboard input of a character to the literal value occupying an array position?
If array[1]= '2' how do I first find all instances of positions with a '2' in them and replace them with a '3' for example?
Thanks,
Tripoli
If array[1]= '2' how do I first find all instances of positions with a '2' in them and replace them with a '3' for example?
Thanks,
Tripoli