In my list of strings , I want to replace a list item string "$id" with the next list item string.
"$id"
For example, the list is
"pa