I have a little issue and I don't know how to call it :D So I want to (simply) remove everything before and after character separated by space. For example:
Input: "Hello holy world"
Key: "ho"
or "hol"
etc.
Output: "holy"
or
Input: "testing text"
Key: "tex"
Output: "text"