Description
Copies a string to the system clipboard, as unformatted, plain text.
Functional area
System
Command syntax
Syntax
copyString text |
Arguments
Name | Type | Required | Comments |
---|---|---|---|
text | string | yes | Text to copy to the clipboard. |
Flags
None
Return value
void
Examples
// Copy some text to the Clipboard
string $str1 = "This is ";
string $str2 = "some text.";
string $result;
$result = $str1 + $str2;
// Copy it
copyString $result;