PHP Source:
<
!DOCTYPE
html
>
<
html
>
<
body
>
<?php
$replace =
array
(
"1: AAA"
,
"2: AAA"
,
"3: AAA"
);
// Replace AAA in each string with BBB
echo
implode(
"<br>"
,substr_replace($replace,
'BBB'
,
3
,
3
));
?>
<
/body
>
<
/html
>
Result:
Privacy Policy