摘要 |
A character string input control method and apparatus are disclosed. Implementation of the method includes: receiving a first character string and a second character string that are input, where the first character string is input before the second character string; identifying the first character string, determining whether the first character string has a substring that matches the second character string, and if the first character string has a substring that matches the second character string, marking the substring with a block mark; and after an instruction for selecting the block mark is received, moving a cursor to a position corresponding to the selected block mark. After a user inputs the second character string, the second character string can be automatically matched in the first character string; that is, if the user needs to position the cursor, automatic positioning can be implemented simply by inputting a character corresponding to a position that needs to be located. Besides, the position is marked by means of a block, so that the user can conveniently move the cursor to the wanted position, and therefore efficiency of error correction can be improved. |