function enkey & function comsplit