Is there a function that will allow the end user to type a word to be stored as a string var ?
Easiest solution is to use a TextField.
var stringToEdit : String = "Hello World";
function OnGUI () {
// Make a text field that modifies stringToEdit.
stringToEdit = GUI.TextField (Rect (10, 10, 200, 20), stringToEdit, 25);
}