Return the user input in a minibuffer before point as a string. That is what completion commands operate on. (fn)