Hi guys how do I escape the following character from my string? Have tried all sorts of things and no luck
Á
Hi guys how do I escape the following character from my string? Have tried all sorts of things and no luck
Á
If and only if you are using PHP then try this:
<?php
defined('jj') ? NULL : define('jj', '<br />');
$a = "Á";
$b= "this Á is Á a Á test Á to Á see Á if Á it Á works";
$c= " <b style='color:#f00; font-size:large'>new-string</b> ";
echo jj, 'Before';
echo jj, '$a = ', $a;
echo jj, '$b = ', $b;
echo jj, '$c = ', $c;
echo jj, 'After';
$b = str_replace( $a, $c, $b );
echo jj, '$a = ', $a;
echo jj, '$b = ', $b;
echo jj, '$c = ', $c;
die;
?>