1

Topic: Character changeover in line

How in line to replace the separate character with another, knowing its position in an initial line?
For example in line 1011112 to replace the fifth in sequence the character on 2.
Replace ("1011112", "1", "2", 5, 1) produces 212, and it is necessary 1011212

2

Re: Character changeover in line

new_str = left (old_str, position - 1) BOTH new_char AND mid (old_str, position+1)

3

Re: Character changeover in line

Mid or all the same Right

4

Re: Character changeover in line

Here most it is not a shame to set such questions?