Eng:Replace Item () of () With () (block)

The Replace Item of  with  block is a List block and a Stack block. The block replaces the specified item; in other words, it changes the item's content to the given text.

Example Uses
If an item has to change its content, this block will do the job.

Some common uses for the Replace Item of  with  block: ask [What item would you like to change in the grocery list?] and wait set [item v] to (answer) ask [What would you like to change it to?] and wait set [new food v] to (answer) replace item (item) of [Grocery List v] with (new food) say [Oops, I got the wrong grocery list! I need to get a new one.] for (3) secs set [item v] to (0) repeat (length of [Grocery List v]) change [item v] by (1) replace item (item) of [Grocery List v] with (item (pick random (1) to (5)) of [Foods v]) say [And Mike crosses the finish line! This is new record for the 100 meter relay!] for (4) secs replace item (5 v) of [School Records v] with (Relay Time) replace item (1 v) of [list v] with (join (item (1 v) of [list v]) (characters)) //"characters" is the new letters when I start as a clone set [id v] to (total clones) add [] to [clonesX v] forever if  then change x by (-2.5) end if  then change x by (2.5) end replace item (id) of [clonesX v] with (x position)
 * Changing an itemfor example, replacing an object in a list of objects
 * Rewriting a list without deleting all the items and creating new ones
 * Changing a record of certain statistics
 * Adding characters onto an already-existing item
 * Recording positions of individual clones

Workaround
This block can be replicated with the following code:

delete (value) of [list v] insert (item) at (value) of [list v]