getInputStateString