This function splits the current script into two parts: the part before the cursor and the part after the cursor.

complete_current_script()

Value

A character vector containing the two parts of the script.