Multiple Text Inputs on one screen

CSLib has some subroutines for working with strings. Perhaps it can help you.