Question: place letters into specific positions in a list

We can pull values of a list

a:=[2,5,g,f,5,h];
 

a[3];
                g

a[2];
                5

etc... but it doesn't work in reverse.  You can't place a value in a certain position in a list

a[6]:=5;
                                 a6:=5

When what was intended is something like a:=[0,0,0,0,0,5]    or 0000005. 

Or b:=[1,4,7] a:=[2,5] would signify placing the letter b at position 1,4,7 and a at positions 2 and 5 with any position not specied before the highest specified poisition being a space which in this case at 3 and 6.  And get the answer in the form of b,a, ,b,a, ,b or without the commas ba ba b

How would I go about doing something like that?

 

Please Wait...