clipboard_get_text()
Jump to navigation
Jump to search
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();