advance Text entry system.

How can I make an advance textentry system. Where I can use arrow keys to go through characters and have a Text cursor.