123456/Simon/stringfuncties.php
<!DOCTYPE html>
<head>
<title>Stringfuncties</title>
</head>
<body>
<?php
$string = "<p class='belangrijk'>Dit is een <a class='' href='#'>verhaal</a> over Pipo de Clown</p>\n<p class='belangrijk'>Dit is een <a class='' href='#'>verhaal</a> over Pipo de Acrobaat</p>";
echo $string;
//
/*• strlen()
• strpos()
• strrpos
• strstr()
• substr()
• str_replace()
• substr_replace()
• strtolower()
• strtoupper()
• ucfirst()
• ucwords()*/
?>
</body>
</html>
Resultaat
Made by Thijs Aarnoudse