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: Test LDAPS Connection

Function testLdap { [CmdletBinding()] Param( [Parameter(Position=0,ValueFromPipeline=$true)]$dcs=$($ENV:LOGONSERVER -replace '\\',''), [Parameter(Position=1,ValueFromPipeline=$true)]$port='636' ) $ErrorActionPreference = "Stop" $results =…

PowerShell: Install DotNet 3.5 – the Easy Way

$package="dotnet3.5"# Install Chocolateyif (!(Get-Command choco.exe -ErrorAction SilentlyContinue)) {Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))}#…

IIS Server Troubleshooting

Issue: There has been a time when a production IIS server becomes unreachable via RDP,…