Add/Remove Quotes

Share actions you've created here.
Post Reply
SpiroC
Posts: 1
Joined: Wed May 21, 2014 9:34 pm

Add/Remove Quotes

Post by SpiroC » Wed May 21, 2014 9:37 pm

VBSCRIPT

Code: Select all

Clipboard.Value = """" + Clipboard.Value + """"
JScript

Code: Select all

var strClip = Clipboard.Value;
if (strClip.substring(0, 1) == '"')
	strClip = strClip.substring(1, strClip.length-1);
if (strClip.substring(strClip.length-1, 1) == '"')
	strClip = strClip.substring(0, strClip.length-1);
Clipboard.Value = strClip;

Post Reply