method unescapeSquotes documentation in bbn\Str

Unescapes the string in quotes.

Example

X::dump(\bbn\Str::escapeSquotes("Today's \"newspaper\"")); // (string) "Today\'s "newspaper"" function($st, $as_html = false) { if ($as_html) { return str_replace(''', "'", $st); } return stripcslashes(self::cast($st)); }

Unescapes the string in 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.