easy :)
Let's assume your variable for the ping response line is called $PINGRESPONSE
export PINGRESPONSE="64 bytes from 172.28.65.253: icmp_seq=1 ttl=128 time=0.221 ms"
this is how you'd get the info you want out of it using standard linux/unix commands:
COMPUTER=`echo $PINGRESPONSE | awk '{print $4}' | sed 's/\:$//'`
TIME=`echo $PINGRESPONSE | awk '{print $7}' | sed 's/time=//'`
-- the ` ` tell the variable to execute the command enclosed in ` ` quotes (the quote key next to the number "1")
-- the command basically will echo your ping response variable
-- that output is piped to the awk command which you're telling to split it up into logical chunks (awk uses a space as it's default field delimiter), {print $4} tells awk to print out the 4th chunk (172.28.65.253:) note the : colon in there
- the above output is then piped to sed, the 's/:$//'` part of it is basically a search & replace of the :$ ($ denotes "end of line") so basically it says "search for : at the end of 172.28.65.253 and replace ":" with "" or, nothing. this leaves you with 172.28.65.253 as your final output.
- since the command is finished, the variable uses "172.28.65.253" as it's value
the same applies to the time variable