Hi,
I'm trying to write something that adds letters to the start of a word if it starts with a certain letter.
So far I've tried making a "for loop" and an array and in the for loop each position in the array is checked and if it's a space then the letters would be added to the position+1 (e.g if the string was Hello World array[5] would be a space so "World" would have some letters added to it).
I think my for loop works well but I'm not sure how to implement the adding letters part as I'm not sure of the best way to move the word to the right so the letters will be able to go in front without overwriting the first letters of the word (i.e abWorld and not abrld).

Would anyone be able to help?
Thanks