ucwords function

<?php

$text = 'this is a simple text';
$result = ucwords($text);

echo $result; // This Is A Simple Text

Leave a Comment

Your email address will not be published. Required fields are marked *