If any criminal offense is begun in this State and completed elsewhere, it shall be deemed to have been committed in this State, and may be dealt with, inquired of, tried, determined and punished in this State in the same manner as if it had been actually and wholly committed in this State.