Changing a character in a String

Okay, this is an idiot question but I’d thought I’d ask anyways.

So I have a string, and I want to change the character that is at the position value.charAt(j-1)
so I put value.charAt(j-1) = 9;
but it seems I can’t assign anything to that…and I was wondering if there was a way to do this.