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: Creating Clustered File Shares

# Define Destination Mount Points and UNC Paths $arr=@{} $arr["from"] = @{}; $arr["to"] = @{}…

PowerShell: Uninstalling an Application

$appname='Google Chrome' function uninstallApp($appName){ $alternativeMethod=$false try{ $app = Get-WmiObject -Class Win32_Product | Where-Object{$_.Name -eq $appName}…

Quick 1-liner Generate List of Active Directory users

# Discover domain controller:echo %LOGONSERVER%# Display Users:dsquery user -limit 0 | dsget user -display -dept…