(defun Split-ZZ (s p / L r)
(setq r (vlax-create-object "vbscript.regexp"))
(vlax-put-property r 'Global 1)
(vlax-put-property r 'Pattern (strcat "([^" p "]+)"))
(vlax-for x (vlax-invoke r 'Execute s)
(setq L (cons (vla-get-Value x) L))
)
(vlax-release-object r)
(reverse L)
)