Create stripFunPtr function.