Please ensure Javascript is enabled for purposes of website accessibility knowledgebase.co.il - מדריכים - קטגוריה - PHP - כיצד להמיר מחרוזת לאותיות קטנות ב-PHP
אתם צופים ב: כיצד להמיר מחרוזת לאותיות קטנות ב-PHP

כיצד להמיר מחרוזת לאותיות קטנות ב-PHP

במדריך זה נלמד איך להמיר מחרוזת לאותיות קטנות ב-PHP.


פונקציות בשימוש:

()strtolower


ניתן להשתמש בפונקציה ()strtolower על מנת להמיר אותיות באנגלית לאותיות קטנות.

בפניכם דוגמא על אופן הביצוע:

<?php
$my_str = 'Spread Love Everywhere You Go. Let No One Ever Come To You Without Leaving Happier. -Mother Teresa';
echo strtolower($my_str);
?>

פלט:

spread love everywhere you go. let no one ever come to you without leaving happier. -mother teresa

עליכם להתחבר על מנת להגיב בעמוד זה.