ido-word-matching-substring

ido-word-matching-substring is a compiled Lisp function in `ido.el'.

(ido-word-matching-substring WORD)

Return part of WORD before first match to `ido-change-word-sub'.
If `ido-change-word-sub' cannot be found in WORD, return nil.