Here you go:
myarray[0]="this is a test" myarray[1]="this is another test" for i in "${myarray[@]}"; do echo "Value: $i" done
Don’t forget the quotes around the ${myarray[0]}, or the spaces will separate each word on its own item.
I work as a freelancer, so if you don’t want to do that kind of things yourself or don’t have the time, just drop me a line to hire me.