Another parsing line awk or sed problem

Hi,

After looking on different forums, I'm still in trouble to parse a parameters line received in KSH.

$* is equal to "/AAA:111 /BBB:222 /CCC:333 /DDD:444"

I would like to parse it and be able to access anyone from his name in my KSH after.

like

echo myArray["AAA"] => display 111

echo "My parameter CCC = $myArray[\"CCC\"] " => My parameter CCC = 333

Regards,

try $@
You can also do this
typeset -a var
var=($a)
## Now you can say echo "${var[2]}" to get the second element in the array.