Three words: MAKE YOUR OWN.
To expand those three words:
First, we need to know your OS of choice. Windows? DOS? No OS at all??
Second, we need to know how generic you want it to be. Just numeric input? Just string input? If you want it to be as useful as C's scanf... then use C's scanf!! No kidding, you CAN use C's scanf() from assembly... you just need a C compiler and library...
Third, if you don't use C's scanf(), then write your own using whatever services your OS provides you. DOS for example has a function call that handles string input completely without your application having to do anything.
Fourth, how do you need to integrate it into your application? The OS services may be too generic or too specific.
"Information has a tendency to be free. Which means someone will always tell you something you don't want to know."