I think the problem is in the usage of () in your script.
I tried a similar example and got the required output
myarray=(`ls *.sh`)
for f in ${myarray[@]}
do
echo $f
done
I think the code of yours should be changed as follows
result=(`awk /string/ $files | awk -F, '{OFS=",";print $1,$4,$17}'`)