Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)


pastes expr at the current insertion point in the input notebook.

pastes expr to the specified notebook.

pastes the contents of the system clipboard in the input notebook.

Details and OptionsDetails and Options

  • The expression expr is evaluated and typeset before being pasted to the clipboard. To paste a textual form, specify a string or InputForm[expr].
  • Paste[Defer[expr]] pastes the unevaluated form of expr.
  • Paste["string"] pastes the contents of "string" as plain text.
  • The expression expr can be any expression, including those that represent notebooks or cells.
  • Paste supports typeset expressions, such as StandardForm and TraditionalForm.
  • Results are pasted wherever the selection is at the instant that Paste is evaluated.
  • If content is selected when Paste evaluates, it will be fully replaced by the paste action.
  • If the pasted content includes a selection placeholder, then the selected content will be substituted for the placeholder.
  • Selection placeholders are represented by the character or \[SelectionPlaceholder].
  • The result of Paste will be at the highest fidelity when pasted between cells. When pasting into an existing cell, some style and formatting information may be lost or merged with the existing styles.
  • The following options can be given:
  • AutoScrollTruewhether to scroll the notebook to the pasted material
    PlaceholderReplaceTruewhether to replace a selection placeholder with the selected contents

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Paste an expression:

Click for copyable input

Paste a string:

Click for copyable input
Click for copyable input

Paste a graphic:

Click for copyable input

Paste the contents of the clipboard:

Click for copyable input
Introduced in 2010