I've below string in my shell script:
myString="app.mykey.value1,app.mykey.value2,app.mykey.value3,app.mykey.value4"
After splitting the comma separated value, I want to store each value in a different variable. For example:
var1=app.mykey.value1
var2=app.mykey.value2
var3=app.mykey.value3
var4=app.mykey.value4
How can i achieve this in shell script?