CLIPBOARD_STRING_PASTE$

CLIPBOARD_STRING_PASTE$

RETURNS THE TEXT OF THE CLIPBOARD

  • Type: System Variable
  • Parameter: 0
  • Group: System

ACTION

The system variable CLIPBOARD_STRING_PASTE$ returns the text in the operating system clipboard, or the empty string ("") if the clipboard is empty or does not contain text.

SYNTAX: CLIPBOARD_STRING_PASTE$ in an expression

USE

  • The system variable CLIPBOARD_STRING_PASTE$ is used to get the text of the system clipboard.

ERROR

  • None.

EXAMPLE

dim a$,b$

a$="Hello"

b$="friends"

rem store to the clipboard

clipboard_string_copy a$+" the "+b$

rem print the clipboard

print clipboard_string_paste$

SEE ALSO

CLIPBOARD_STRING_COPY