method escapeDquotes documentation in bbn\Str
Escapes the string in double quotes.
Example
X::dump(\bbn\Str::escapeDquotes('this is the house "Mary"'));
// (string) "this is the house \"Mary\""
function($st, $as_html = false)
{
if ($as_html) {
return str_replace('"', '"', $st);
}
return addcslashes(self::cast($st), "\"\\\r\n\t");
}
Escapes the string in double quotes. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2025
BBN Solutions