# Button for sqrt sign

How to create a button, which has exactly the same functionality as pressing ctlr+2 in an inputField? So it is basicly appending an sqrt sign to a string.

• Um, did you try searching on your own ? Like, CreatePalette, etc ? – Sektor Aug 26 '15 at 17:36

CreatePalette[{"Square root",PasteButton[Sqrt@\[SelectionPlaceholder]]}]