I have an array a1=[1 2 3 4 … 50] I also have string '*GOAL'
I want to create a single string B that can produce:
*GOAL 1
*GOAL 2
*GOAL 3
*GOAL 4
*GOAL 5
…
I want to use this string B and replace a character [$1] that is inside a text file 'Goals.txt'.
Best Answer