# Changing a character in a String

**URL:** https://forum.kirupa.com/t/changing-a-character-in-a-string/158464
**Category:** flash
**Created:** [August 9, 2005, 9:56pm UTC](https://forum.kirupa.com/t/changing-a-character-in-a-string/158464 "2005-08-09T21:56:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Kyri](https://avatars.discourse-cdn.com/v4/letter/k/f07891/32.png) [@Kyri](https://forum.kirupa.com/u/Kyri)
#### Post date: [August 9, 2005, 9:56pm UTC](https://forum.kirupa.com/t/changing-a-character-in-a-string/158464/1 "2005-08-09T21:56:43Z")

</div>

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.
