---
title: "copyString"
canonical: "https://help.vicon.com/space/ShogunPost121/1253737246/copyString"
format: markdown
---
# Description

Copies a string to the system clipboard, as unformatted, plain text.

## Functional area

System

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `copyString text` |

### Arguments

| Name | Type | Required | Comments |
| --- | --- | --- | --- |
| `text` | string | yes | Text to copy to the clipboard. |

### Flags

None

## Return value

void

## Examples

```plaintext
// Copy some text to the Clipboard
string $str1 = "This is ";
string $str2 = "some text.";
string $result;
$result = $str1 + $str2;

// Copy it
copyString $result;
```