Storing value in a variable

Hi Everyone,

I have a code which requires to be stored in different variables and I am achiving it like this.

HOST=`echo $RMP | cut -f2 -d:`
NAME=`echo $RMP | cut -f3 -d:`
DIR=`echo $RMP | cut -f4 -d:`
TYPE=`echo $RMP | cut -f5 -d:`

Is there any other way of storing value in different variables?

IFS_HOLD=$IFS
IFS=:
echo $RMP | read HOST NAME DIR TYPE
IFS=$IFS_HOLD

Thanks for your response.