Please tell me way to replace multiple spaces with comma for example input string
set string "boy cat dog girl man"
there can be multiple space between the strings example 8 betwee boy and cat , 4 between dog and girl
and i want it as boy,cat,dog,girl,man