clipboard_get_text()

From ENIGMA
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Description

Gets the text that is currently on the system clipboard and returns the value.

Parameters

Parameter Description
none This function has no parameters.

Return Values

string: Returns the text that is currently on the system clipboard.

Example Call

// demonstrates getting the clipboard text
var text;
text = clipboard_get_text();