str_cursor (STRING* string)

Returns the cursor position of the string when it is edited by the inkey function.

Parameters:

string - string edited by inkey.

Returns:

Cursor position (1 = start of string), or 0 is the string is not opened by inkey.

Example:

temp = str_cursor(filename_str);

See also:

str_cpy, str_cat, str_len, inkey