I have the an array called $Map that has 29 strings of 23 characters. With the $CharY variable I specify the index of an item and with the $CharX variable I specify which character of that item should be replaced. How do I actually replace this character of the item with the character "0"? I tried using$Map[$CharY][CharX]
but after running this command, an error is shown saying
At line:1 char:1
+ $Map[$CharY][$CharX] = "0"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : CannotIndex