1. A method comprising: predetermining a given character area on a display of a touch screen user interface of an electronic device for each character, which character areas are in relation with each other in order to achieve a given character area pattern; detecting a start of a character entering function; detecting a starting point on the display on the basis of the detected start of the character entering function; detecting a direction of movement indicated by sliding an input device on the touch screen, when the start of the character entering function has been detected; showing only the character of the character area on the display towards which character area the direction of movement indicated by the sliding input device is proceeding; detecting the termination of the character entering function; and interpreting the character towards whose character area the direction of movement was last detected to proceed as the character to be entered next, when the termination of the character entering function is detected.