PHP string functions are awesome

Published: 19 May 2024
on channel: Bro Code
4,137
117

#PHP #course #tutorial

PHP functions that you should probably know.

$username = "Bro Code";
$phone = "123-456-7890";

//$username = strtolower($username);
//$username = strtoupper($username);
//$username = trim($username);
//$username = str_pad($username, 20, "0");
//$phone = str_replace("-", "", $phone);
//$username = strrev($username);
//$username = str_shuffle($username);
//$equals = strcmp($username, "Bro Code");
//$count = strlen($phone);
//$index = strpos($phone, "-");
//$firstname = substr($username, 0, 3);
//$lastname = substr($username, 4);
//$fullname = explode(" ", $username);
//$username = implode("-", $username);

echo $username;


On this page of the site you can watch the video online PHP string functions are awesome with a duration of hours minute second in good quality, which was uploaded by the user Bro Code 19 May 2024, share the link with friends and acquaintances, this video has already been watched 4,137 times on youtube and it was liked by 117 viewers. Enjoy your viewing!