It seems the line in Bash
set -- $*
is to re-parse the argument using the new IFS. Example:
try() { IFS=: set -- $*