Posted On April 4, 2019

Basic JavaScript: Escaping Literal Quotes in Strings

kimconnect 0 comments
blog.KimConnect.com >> Codes >> Basic JavaScript: Escaping Literal Quotes in Strings
var myStr = "Yo Mama said, \"have some cookies\"";

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

PowerShell: Enable Remote Desktop

$computernames=@' SERVER1 SERVER2 '@ $computers=@($computernames -split "`n" -replace "\..*$") function enableRemoteDesktop{ $regHiveTs='HKLM:\System\CurrentControlSet\Control\Terminal Server' $regKeyTs='fDenyTSConnections' $enable=0…

PowerShell: How to Call a Batch File to Run-As Administrator

Step 1: Create a Batch File and place it inside C:\scripts @echo off powercfg.exe -x…

Check a List of Servers to Find Currently Stopped Autorun Services

$username = (Get-ADDomain).name+'\USERNAME' $Password = 'PASSWORD' $pass = ConvertTo-SecureString -AsPlainText $Password -Force $cred = New-Object…
Other project: DragonCoin.com