var="a b c"
p=${var/ /0}
echo $p