php trim – The Best PHP 3 Examples

Today, We want to share with you php trim.In this post we will show you php trim spaces before and after, hear for PHP trim and lowercase we will give you demo and example for implement.In this post, we will learn about PHP Shorten String Function with an example.

php trim

Example : 1 PHP trim() Function

<!DOCTYPE html>

$market = "Welcome Pakainfo!";
echo $market . "<br>";
echo trim($market,"Hed!");


Example : 2

$marketing_name=' Welcome to ';
echo $all_marketing;

Example : 3

$marketing_name="	Welcome to";
//echo $all_marketing;

I hope you get an idea about php trim.
I would like to have feedback on my
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

Also Read This 👉   How to convert string number into month name in PHP