PHP in-built string functions are explained. There are a lot of in-built string functions available in PHP. We have explained only those which are required frequently in works and projects.
We advise you to practice these and others. Let us know if you are stuck anywhere. We appreciate your comments.
PHP in-built string functions list from PHP official documentation:
https://www.php.net/manual/en/ref.str...
Timeline:
0:00 Intro
1:36 echo()
2:18 print()
2:46 strlen()
3:06 strtolower()
3:16 strtoupper()
3:39 ucwords()
3:58 ucfirst()
4:15 lcfirst()
4:32 trim()
4:59 ltrim()
5:20 rtrim()
5:41 strrev()
5:55 strcmp()
7:04 strpos()
7:46 stripos()
8:06 strrpos()
8:34 strripos()
9:01 substr()
9:43 strstr()
10:27 stristr()
10:45 str_replace()
11:20 str_repeat()
11:39 str_shuffle()
12:04 str_split()
12:34 str_word_count()
12:54 count_chars()
13:23 number_format()
13:43 wordwrap()
14:13 nl2br()
14:31 htmlspecialchars()
14:57 htmlspecialchars_decode()
15:24 htmlentities()
15:36 html_entity_decode()
15:50 Outro